needs stat.h, flags are longs
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Thu, 4 Mar 1993 09:53:49 +0000 (01:53 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Thu, 4 Mar 1993 09:53:49 +0000 (01:53 -0800)
SCCS-vsn: lib/libc/sys/chflags.2 6.7

usr/src/lib/libc/sys/chflags.2

index 015e1fe..b8af399 100644 (file)
@@ -3,7 +3,7 @@
 .\"
 .\" %sccs.include.redist.roff%
 .\"
 .\"
 .\" %sccs.include.redist.roff%
 .\"
-.\"    @(#)chflags.2   6.6 (Berkeley) %G%
+.\"    @(#)chflags.2   6.7 (Berkeley) %G%
 .\"
 .Dd 
 .Dt CHFLAGS 2
 .\"
 .Dd 
 .Dt CHFLAGS 2
 .Nm fchflags
 .Nd set file flags
 .Sh SYNOPSIS
 .Nm fchflags
 .Nd set file flags
 .Sh SYNOPSIS
+.Fd #include <sys/stat.h>
 .Fd #include <unistd.h>
 .Ft int
 .Fd #include <unistd.h>
 .Ft int
-.Fn chflags "const char *path"  "long flags"
+.Fn chflags "const char *path"  "u_long flags"
 .Ft int
 .Ft int
-.Fn fchflags "int fd" "long flags"
+.Fn fchflags "int fd" "u_long flags"
 .Sh DESCRIPTION
 The file whose name
 is given by
 .Sh DESCRIPTION
 The file whose name
 is given by