xref: /titanic_50/usr/src/test/libc-tests/cfg/symbols/fcntl_h.cfg (revision de572d98af8238405c5d1292a788b1a85b0c68eb)
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+
45
46#
47# Functions
48#
49func |	creat								|\
50	int								|\
51	const char *; mode_t						|\
52	fcntl.h | ALL
53
54func |	open								|\
55	int								|\
56	const char *; mode_t						|\
57	fcntl.h | ALL
58
59func |	fcntl								|\
60	int								|\
61	int; int							|\
62	fcntl.h | ALL
63