xref: /illumos-gate/usr/src/test/libc-tests/cfg/symbols/fcntl_h.cfg (revision 13b136d3061155363c62c9f6568d25b8b27da8f6)
1#
2# This file and its contents are supplied under the terms of the
3# Common Development and Distribution License ("CDDL"), version 1.0.
4# You may only use this file in accordance with the terms of version
5# 1.0 of the CDDL.
6#
7# A full copy of the text of the CDDL should have accompanied this
8# source.  A copy of the CDDL is also available via the Internet at
9# http://www.illumos.org/license/CDDL.
10#
11
12#
13# Copyright 2015 Garrett D'Amore <garrett@damore.org>
14#
15
16#
17# Definitions found in fcntl.h
18#
19
20#
21# Types.
22#
23type |	mode_t		| fcntl.h | ALL
24type |	off_t		| fcntl.h | ALL
25type |	pid_t		| fcntl.h | ALL
26type |	struct flock	| fcntl.h | ALL
27
28#
29# Values.
30#
31value | O_ACCMODE	| int	| fcntl.h | POSIX+ SUS+
32value | O_APPEND	| int	| fcntl.h | POSIX+ SUS+
33value | O_CLOEXEC	| int	| fcntl.h | POSIX+ SUS+
34value | O_CREAT		| int	| fcntl.h | POSIX+ SUS+
35value | O_DSYNC		| int	| fcntl.h | XPG3+ POSIX-1993+
36value | O_EXCL		| int	| fcntl.h | POSIX+ SUS+
37value | O_NDELAY	| int	| fcntl.h | -POSIX-1993+
38value | O_NOCTTY	| int	| fcntl.h | POSIX+ SUS+
39value | O_NONBLOCK	| int	| fcntl.h | POSIX+ SUS+
40value | O_RDONLY	| int	| fcntl.h | POSIX+ SUS+
41value | O_RDWR		| int	| fcntl.h | POSIX+ SUS+
42value | O_RSYNC		| int	| fcntl.h | XPG3+ POSIX-1993+
43value | O_SYNC		| int	| fcntl.h | XPG3+ POSIX-1993+
44value | O_WRONLY	| int	| fcntl.h | POSIX+ SUS+
45value | O_DIRECTORY	| int	| fcntl.h | -ALL SUSv4+
46
47#
48# Functions
49#
50func |	creat								|\
51	int								|\
52	const char *; mode_t						|\
53	fcntl.h | ALL
54
55func |	open								|\
56	int								|\
57	const char *; mode_t						|\
58	fcntl.h | ALL
59
60func |	fcntl								|\
61	int								|\
62	int; int							|\
63	fcntl.h | ALL
64