mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
Update to reflect current include files.
This commit is contained in:
parent
a734cc76a8
commit
1ffa645077
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=22139
@ -68,11 +68,11 @@ description file,
|
||||
struct fstab {
|
||||
char *fs_spec; /* block special device name */
|
||||
char *fs_file; /* file system path prefix */
|
||||
char *fs_vfstype; /* type of file system */
|
||||
char *fs_mntops; /* comma separated mount options */
|
||||
char *fs_type; /* rw, ro, sw, or xx */
|
||||
char *fs_vfstype; /* File system type, ufs, nfs */
|
||||
char *fs_mntops; /* Mount options ala -o */
|
||||
char *fs_type; /* FSTAB_* from fs_mntops */
|
||||
int fs_freq; /* dump frequency, in days */
|
||||
int fs_passno; /* pass number on parallel dump */
|
||||
int fs_passno; /* pass number on parallel fsck */
|
||||
};
|
||||
.Ed
|
||||
.Pp
|
||||
@ -112,7 +112,9 @@ The
|
||||
and
|
||||
.Fn getfsfile
|
||||
functions
|
||||
return a null pointer (0) on
|
||||
return a
|
||||
.Dv NULL
|
||||
pointer on
|
||||
.Dv EOF
|
||||
or error.
|
||||
The
|
||||
|
@ -76,8 +76,8 @@ file
|
||||
struct group {
|
||||
char *gr_name; /* group name */
|
||||
char *gr_passwd; /* group password */
|
||||
gid_t gr_gid; /* group id */
|
||||
char **gr_mem; /* null terminated list of group members */
|
||||
int gr_gid; /* group id */
|
||||
char **gr_mem; /* group members */
|
||||
};
|
||||
.Ed
|
||||
.Pp
|
||||
|
@ -72,14 +72,15 @@ file
|
||||
struct passwd {
|
||||
char *pw_name; /* user name */
|
||||
char *pw_passwd; /* encrypted password */
|
||||
uid_t pw_uid; /* user uid */
|
||||
gid_t pw_gid; /* user gid */
|
||||
int pw_uid; /* user uid */
|
||||
int pw_gid; /* user gid */
|
||||
time_t pw_change; /* password change time */
|
||||
char *pw_class; /* user access class */
|
||||
char *pw_gecos; /* Honeywell login info */
|
||||
char *pw_dir; /* home directory */
|
||||
char *pw_shell; /* default shell */
|
||||
time_t pw_expire; /* account expiration */
|
||||
int pw_fields; /* internal: fields filled in */
|
||||
};
|
||||
.Ed
|
||||
.Pp
|
||||
|
@ -62,12 +62,12 @@ file.
|
||||
.Bd -literal
|
||||
struct ttyent {
|
||||
char *ty_name; /* terminal device name */
|
||||
char *ty_getty; /* command to execute */
|
||||
char *ty_type; /* terminal type */
|
||||
#define TTY_ON 0x01 /* enable logins */
|
||||
char *ty_getty; /* command to execute, usually getty */
|
||||
char *ty_type; /* terminal type for termcap */
|
||||
#define TTY_ON 0x01 /* enable logins (start ty_getty program) */
|
||||
#define TTY_SECURE 0x02 /* allow uid of 0 to login */
|
||||
int ty_status; /* flag values */
|
||||
char *ty_window; /* command for window manager */
|
||||
int ty_status; /* status flags */
|
||||
char *ty_window; /* command to start up window manager */
|
||||
char *ty_comment; /* comment field */
|
||||
char *ty_group; /* tty group name */
|
||||
};
|
||||
|
@ -59,17 +59,23 @@ and contains (amongst others) the following members:
|
||||
.Bd -literal
|
||||
struct msqid_ds {
|
||||
struct ipc_perm msg_perm; /* msg queue permission bits */
|
||||
u_long msg_cbytes; /* # of bytes in use on the queue */
|
||||
u_long msg_qnum; /* # of msgs in the queue */
|
||||
struct msg *msg_first; /* first message in the queue */
|
||||
struct msg *msg_last; /* last message in the queue */
|
||||
u_long msg_cbytes; /* number of bytes in use on the queue */
|
||||
u_long msg_qnum; /* number of msgs in the queue */
|
||||
u_long msg_qbytes; /* max # of bytes on the queue */
|
||||
pid_t msg_lspid; /* pid of last msgsnd() */
|
||||
pid_t msg_lrpid; /* pid of last msgrcv() */
|
||||
time_t msg_stime; /* time of last msgsnd() */
|
||||
long msg_pad1;
|
||||
time_t msg_rtime; /* time of last msgrcv() */
|
||||
long msg_pad2;
|
||||
time_t msg_ctime; /* time of last msgctl() */
|
||||
long msg_pad3;
|
||||
long msg_pad4[4];
|
||||
};
|
||||
.Ed
|
||||
|
||||
.Pp
|
||||
The
|
||||
.Bf -literal
|
||||
ipc_perm
|
||||
@ -87,12 +93,12 @@ struct ipc_perm {
|
||||
ushort cgid; /* creator group id */
|
||||
ushort uid; /* user id */
|
||||
ushort gid; /* group id */
|
||||
ushort mode; /* permission (9 bits, see chmod(2)) */
|
||||
ushort seq; /* sequence # (to generate unique id) */
|
||||
ushort mode; /* r/w permission */
|
||||
ushort seq; /* sequence # (to generate unique msg/sem/shm id) */
|
||||
key_t key; /* user specified msg/sem/shm key */
|
||||
};
|
||||
.Ed
|
||||
|
||||
.Pp
|
||||
The operation to be performed by
|
||||
.Fn msgctl
|
||||
is specified in
|
||||
|
Loading…
Reference in New Issue
Block a user