Browse Source

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.
OPENBSD_2_8
mickey 24 years ago
parent
commit
70cc2f081a
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/include/unistd.h

+ 3
- 1
src/include/unistd.h View File

@ -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));


Loading…
Cancel
Save