xref: /illumos-gate/usr/src/test/libc-tests/cfg/symbols/sys_stat_h.cfg (revision 4c28a617e3922d92a58e813a5b955eb526b9c386)
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 sys/stat.h
18#
19
20#
21# Types.
22#
23type |	mode_t		| sys/stat.h | ALL
24type |	struct stat	| sys/stat.h | ALL
25
26#
27# Values.
28#
29value | S_IFMT		| mode_t | sys/stat.h | ALL
30value |	S_IFBLK		| mode_t | sys/stat.h | ALL
31
32#
33# Functions
34#
35func |	chmod							|\
36	int							|\
37	const char *; mode_t					|\
38	sys/stat.h | POSIX+ XPG3+
39
40func |	fchmod							|\
41	int							|\
42	int; mode_t						|\
43	sys/stat.h | -POSIX+ -XPG3+ POSIX-1993+ SUS+
44
45func |	fstat							|\
46	int							|\
47	int; struct stat *					|\
48	sys/stat.h | XPG3+ POSIX+
49
50func |	mkdir							|\
51	int							|\
52	const char *; mode_t					|\
53	sys/stat.h | XPG3+ POSIX+
54
55func |	mknod							|\
56	int							|\
57	const char *; mode_t; dev_t				|\
58	sys/stat.h | -XPG3+ -POSIX+ SUS+
59