xref: /openbsd-src/lib/libc/hidden/sys/stat.h (revision 170ca6cd9aafa3cdc31a31ea372066cfe462e34a)
1*170ca6cdSguenther /*	$OpenBSD: stat.h,v 1.3 2023/05/18 16:11:09 guenther Exp $	*/
215a0f535Sguenther /*
315a0f535Sguenther  * Copyright (c) 2015 Philip Guenther <guenther@openbsd.org>
415a0f535Sguenther  *
515a0f535Sguenther  * Permission to use, copy, modify, and distribute this software for any
615a0f535Sguenther  * purpose with or without fee is hereby granted, provided that the above
715a0f535Sguenther  * copyright notice and this permission notice appear in all copies.
815a0f535Sguenther  *
915a0f535Sguenther  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
1015a0f535Sguenther  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
1115a0f535Sguenther  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
1215a0f535Sguenther  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
1315a0f535Sguenther  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
1415a0f535Sguenther  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1515a0f535Sguenther  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1615a0f535Sguenther  */
1715a0f535Sguenther 
1815a0f535Sguenther #ifndef _LIBC_SYS_STAT_H_
1915a0f535Sguenther #define	_LIBC_SYS_STAT_H_
2015a0f535Sguenther 
2115a0f535Sguenther #include_next <sys/stat.h>
2215a0f535Sguenther 
2315a0f535Sguenther PROTO_NORMAL(chflags);
24*170ca6cdSguenther PROTO_NORMAL(chflagsat);
2515a0f535Sguenther PROTO_NORMAL(chmod);
2615a0f535Sguenther PROTO_NORMAL(fchflags);
2715a0f535Sguenther PROTO_NORMAL(fchmod);
2815a0f535Sguenther PROTO_NORMAL(fchmodat);
2915a0f535Sguenther PROTO_NORMAL(fstat);
3015a0f535Sguenther PROTO_NORMAL(fstatat);
3115a0f535Sguenther PROTO_NORMAL(futimens);
325674b11fSguenther PROTO_DEPRECATED(isfdtype);
3315a0f535Sguenther PROTO_NORMAL(lstat);
3415a0f535Sguenther PROTO_NORMAL(mkdir);
3515a0f535Sguenther PROTO_NORMAL(mkdirat);
3615a0f535Sguenther PROTO_NORMAL(mkfifo);
3715a0f535Sguenther PROTO_NORMAL(mkfifoat);
3815a0f535Sguenther PROTO_NORMAL(mknod);
3915a0f535Sguenther PROTO_NORMAL(mknodat);
4015a0f535Sguenther PROTO_NORMAL(stat);
4115a0f535Sguenther PROTO_NORMAL(umask);
4215a0f535Sguenther PROTO_NORMAL(utimensat);
4315a0f535Sguenther 
4415a0f535Sguenther #endif /* !_LIBC_SYS_STAT_H_ */
45