diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2000-07-19 19:26:06 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2000-07-19 19:26:06 +0000 |
commit | 834842d90ca47e81459e9f10f78e30aaafb4907b (patch) | |
tree | b01cd6caa7c65e0528ec79733874e29c145140de /include/unistd.h | |
parent | d99b72f36854ec6820816edf8ff1b2293e1955de (diff) |
from freebsd:
strtofflags/fflagstostr to convert file flags
to/from binary from/into a string as used in chflags(1).
use u_int32_t instead of u_long (as freebsd does).
increase libc minor.
millert@ ok.
Diffstat (limited to 'include/unistd.h')
-rw-r--r-- | include/unistd.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/unistd.h b/include/unistd.h index d1b1eef5608..65084f6c763 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: unistd.h,v 1.31 2000/04/20 06:34:18 deraadt Exp $ */ +/* $OpenBSD: unistd.h,v 1.32 2000/07/19 19:26:04 mickey Exp $ */ /* $NetBSD: unistd.h,v 1.26.4.1 1996/05/28 02:31:51 mrg Exp $ */ /*- @@ -132,6 +132,7 @@ void endusershell __P((void)); int exect __P((const char *, char * const *, char * const *)); int fchdir __P((int)); int fchown __P((int, uid_t, gid_t)); +char *fflagstostr __P((u_int32_t)); int fsync __P((int)); int ftruncate __P((int, off_t)); int getdomainname __P((char *, size_t)); @@ -194,6 +195,7 @@ int setreuid __P((int, int)); int setrgid __P((gid_t)); int setruid __P((uid_t)); void setusershell __P((void)); +int strtofflags __P((char **, u_int32_t *, u_int32_t *)); void swab __P((const void *, void *, size_t)); int swapon __P((const char *)); int swapctl __P((int cmd, const void *arg, int misc)); |