diff options
author | Ed Schouten <ed@FreeBSD.org> | 2012-02-12 18:29:56 +0000 |
---|---|---|
committer | Ed Schouten <ed@FreeBSD.org> | 2012-02-12 18:29:56 +0000 |
commit | 6b99842ada7bb3bd24c5fd4541e046994733757b (patch) | |
tree | ac73d0fee5bb41748009d87a44b179ab6b7d87bc /lib/libc | |
parent | 5a197b461236c689211780e2f74e4c7d4d313fe9 (diff) | |
download | src-test2-6b99842ada7bb3bd24c5fd4541e046994733757b.tar.gz src-test2-6b99842ada7bb3bd24c5fd4541e046994733757b.zip |
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/db/man/hash.3 | 2 | ||||
-rw-r--r-- | lib/libc/gen/arc4random.3 | 6 | ||||
-rw-r--r-- | lib/libc/net/nsdispatch.3 | 2 | ||||
-rw-r--r-- | lib/libc/rpc/rpc.3 | 12 | ||||
-rw-r--r-- | lib/libc/rpc/rpc_clnt_create.3 | 8 | ||||
-rw-r--r-- | lib/libc/sys/getdirentries.2 | 8 | ||||
-rw-r--r-- | lib/libc/sys/jail.2 | 2 | ||||
-rw-r--r-- | lib/libc/sys/nfssvc.2 | 4 |
8 files changed, 22 insertions, 22 deletions
diff --git a/lib/libc/db/man/hash.3 b/lib/libc/db/man/hash.3 index 133885d841c9..a2a8bca65c14 100644 --- a/lib/libc/db/man/hash.3 +++ b/lib/libc/db/man/hash.3 @@ -65,7 +65,7 @@ typedef struct { u_int ffactor; u_int nelem; u_int cachesize; - u_int32_t (*hash)(const void *, size_t); + uint32_t (*hash)(const void *, size_t); int lorder; } HASHINFO; .Ed diff --git a/lib/libc/gen/arc4random.3 b/lib/libc/gen/arc4random.3 index be1f69092fcd..e1124c622e77 100644 --- a/lib/libc/gen/arc4random.3 +++ b/lib/libc/gen/arc4random.3 @@ -44,12 +44,12 @@ .Lb libc .Sh SYNOPSIS .In stdlib.h -.Ft u_int32_t +.Ft uint32_t .Fn arc4random "void" .Ft void .Fn arc4random_buf "void *buf" "size_t nbytes" -.Ft u_int32_t -.Fn arc4random_uniform "u_int32_t upper_bound" +.Ft uint32_t +.Fn arc4random_uniform "uint32_t upper_bound" .Ft void .Fn arc4random_stir "void" .Ft void diff --git a/lib/libc/net/nsdispatch.3 b/lib/libc/net/nsdispatch.3 index d1d8d5a0e71e..2fd9ec9c6337 100644 --- a/lib/libc/net/nsdispatch.3 +++ b/lib/libc/net/nsdispatch.3 @@ -129,7 +129,7 @@ structures, which have the following format: .Bd -literal -offset indent typedef struct _ns_src { const char *src; - u_int32_t flags; + uint32_t flags; } ns_src; .Ed .Bd -ragged -offset indent diff --git a/lib/libc/rpc/rpc.3 b/lib/libc/rpc/rpc.3 index 81a24ca63163..4fa3e2cee58f 100644 --- a/lib/libc/rpc/rpc.3 +++ b/lib/libc/rpc/rpc.3 @@ -119,12 +119,12 @@ file. .Sh Derived Types The derived types used in the RPC interfaces are defined as follows: .Bd -literal - typedef u_int32_t rpcprog_t; - typedef u_int32_t rpcvers_t; - typedef u_int32_t rpcproc_t; - typedef u_int32_t rpcprot_t; - typedef u_int32_t rpcport_t; - typedef int32_t rpc_inline_t; + typedef uint32_t rpcprog_t; + typedef uint32_t rpcvers_t; + typedef uint32_t rpcproc_t; + typedef uint32_t rpcprot_t; + typedef uint32_t rpcport_t; + typedef int32_t rpc_inline_t; .Ed .Sh "Data Structures" Some of the data structures used by the diff --git a/lib/libc/rpc/rpc_clnt_create.3 b/lib/libc/rpc/rpc_clnt_create.3 index 34c90ed77d1d..079c9eb729bf 100644 --- a/lib/libc/rpc/rpc_clnt_create.3 +++ b/lib/libc/rpc/rpc_clnt_create.3 @@ -106,10 +106,10 @@ Set the timeout argument to 0 for batching calls. .It Dv CLGET_FD Ta "int *" Ta "get fd from handle" .It Dv CLSET_FD_CLOSE Ta "void" Ta "close fd on destroy" .It Dv CLSET_FD_NCLOSE Ta void Ta "do not close fd on destroy" -.It Dv CLGET_VERS Ta "u_int32_t *" Ta "get RPC program version" -.It Dv CLSET_VERS Ta "u_int32_t *" Ta "set RPC program version" -.It Dv CLGET_XID Ta "u_int32_t *" Ta "get XID of previous call" -.It Dv CLSET_XID Ta "u_int32_t *" Ta "set XID of next call" +.It Dv CLGET_VERS Ta "uint32_t *" Ta "get RPC program version" +.It Dv CLSET_VERS Ta "uint32_t *" Ta "set RPC program version" +.It Dv CLGET_XID Ta "uint32_t *" Ta "get XID of previous call" +.It Dv CLSET_XID Ta "uint32_t *" Ta "set XID of next call" .El .Pp The following operations are valid for connectionless transports only: diff --git a/lib/libc/sys/getdirentries.2 b/lib/libc/sys/getdirentries.2 index e16e7f2a77f8..3fe16327ed32 100644 --- a/lib/libc/sys/getdirentries.2 +++ b/lib/libc/sys/getdirentries.2 @@ -71,10 +71,10 @@ The data in the buffer is a series of .Vt dirent structures each containing the following entries: .Bd -literal -offset indent -u_int32_t d_fileno; -u_int16_t d_reclen; -u_int8_t d_type; -u_int8_t d_namlen; +uint32_t d_fileno; +uint16_t d_reclen; +uint8_t d_type; +uint8_t d_namlen; char d_name[MAXNAMELEN + 1]; /* see below */ .Ed .Pp diff --git a/lib/libc/sys/jail.2 b/lib/libc/sys/jail.2 index 119cd61d0d32..7e7ec13db011 100644 --- a/lib/libc/sys/jail.2 +++ b/lib/libc/sys/jail.2 @@ -59,7 +59,7 @@ system call sets up a jail and locks the current process in it. The argument is a pointer to a structure describing the prison: .Bd -literal -offset indent struct jail { - u_int32_t version; + uint32_t version; char *path; char *hostname; char *jailname; diff --git a/lib/libc/sys/nfssvc.2 b/lib/libc/sys/nfssvc.2 index cf52187cdbd0..f816231ef0a1 100644 --- a/lib/libc/sys/nfssvc.2 +++ b/lib/libc/sys/nfssvc.2 @@ -143,14 +143,14 @@ and a pointer to a struct nfsd_srvargs { struct nfsd *nsd_nfsd; /* Pointer to in kernel nfsd struct */ uid_t nsd_uid; /* Effective uid mapped to cred */ - u_int32_t nsd_haddr; /* Ip address of client */ + uint32_t nsd_haddr; /* Ip address of client */ struct ucred nsd_cr; /* Cred. uid maps to */ int nsd_authlen; /* Length of auth string (ret) */ u_char *nsd_authstr; /* Auth string (ret) */ int nsd_verflen; /* and the verifier */ u_char *nsd_verfstr; struct timeval nsd_timestamp; /* timestamp from verifier */ - u_int32_t nsd_ttl; /* credential ttl (sec) */ + uint32_t nsd_ttl; /* credential ttl (sec) */ NFSKERBKEY_T nsd_key; /* Session key */ }; .Ed |