xref: /openbsd-src/lib/libc/hidden/fcntl.h (revision fe38b55cb0aae270de3f844146814682e8cd345c)
1*fe38b55cSguenther /*	$OpenBSD: fcntl.h,v 1.2 2016/05/07 19:05:22 guenther Exp $	*/
2ea552afdSguenther /*
3ea552afdSguenther  * Copyright (c) 2015 Philip Guenther <guenther@openbsd.org>
4ea552afdSguenther  *
5ea552afdSguenther  * Permission to use, copy, modify, and distribute this software for any
6ea552afdSguenther  * purpose with or without fee is hereby granted, provided that the above
7ea552afdSguenther  * copyright notice and this permission notice appear in all copies.
8ea552afdSguenther  *
9ea552afdSguenther  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10ea552afdSguenther  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11ea552afdSguenther  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12ea552afdSguenther  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13ea552afdSguenther  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14ea552afdSguenther  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15ea552afdSguenther  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16ea552afdSguenther  */
17ea552afdSguenther 
18ea552afdSguenther #ifndef _LIBC_FCNTL_H_
19ea552afdSguenther #define	_LIBC_FCNTL_H_
20ea552afdSguenther 
21ea552afdSguenther #include_next <fcntl.h>
22ea552afdSguenther 
23ea552afdSguenther PROTO_DEPRECATED(creat);
24*fe38b55cSguenther PROTO_CANCEL(fcntl);
25ea552afdSguenther PROTO_NORMAL(flock);
26*fe38b55cSguenther PROTO_CANCEL(open);
27*fe38b55cSguenther PROTO_CANCEL(openat);
28ea552afdSguenther 
29ea552afdSguenther #endif /* !_LIBC_FCNTL_H_ */
30