mirror of https://github.com/mkerrisk/man-pages
Various pages: Consistently use 'unsigned int'
Most pages use 'unsigned int' (and the kernel too). Make them all do so. $ find man? -type f \ | xargs sed -i \ -e 's/unsigned \*/unsigned int */g' -e 's/unsigned "/unsigned int "/g'; Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
e878a2de3e
commit
771aecbeff
|
@ -16,7 +16,7 @@ getcpu \- determine CPU and NUMA node on which the calling thread is running
|
||||||
.nf
|
.nf
|
||||||
.B #include <linux/getcpu.h>
|
.B #include <linux/getcpu.h>
|
||||||
.PP
|
.PP
|
||||||
.BI "int getcpu(unsigned *" cpu ", unsigned *" node \
|
.BI "int getcpu(unsigned int *" cpu ", unsigned int *" node \
|
||||||
", struct getcpu_cache *" tcache );
|
", struct getcpu_cache *" tcache );
|
||||||
.fi
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -11,7 +11,7 @@ io_setup \- create an asynchronous I/O context
|
||||||
.nf
|
.nf
|
||||||
.BR "#include <linux/aio_abi.h>" " /* Defines needed types */"
|
.BR "#include <linux/aio_abi.h>" " /* Defines needed types */"
|
||||||
.PP
|
.PP
|
||||||
.BI "long io_setup(unsigned " nr_events ", aio_context_t *" ctx_idp );
|
.BI "long io_setup(unsigned int " nr_events ", aio_context_t *" ctx_idp );
|
||||||
.fi
|
.fi
|
||||||
.PP
|
.PP
|
||||||
.IR Note :
|
.IR Note :
|
||||||
|
|
|
@ -41,7 +41,7 @@ mbind \- set memory policy for a memory range
|
||||||
.PP
|
.PP
|
||||||
.BI "long mbind(void *" addr ", unsigned long " len ", int " mode ,
|
.BI "long mbind(void *" addr ", unsigned long " len ", int " mode ,
|
||||||
.BI " const unsigned long *" nodemask ", unsigned long " maxnode ,
|
.BI " const unsigned long *" nodemask ", unsigned long " maxnode ,
|
||||||
.BI " unsigned " flags );
|
.BI " unsigned int " flags );
|
||||||
.PP
|
.PP
|
||||||
Link with \fI\-lnuma\fP.
|
Link with \fI\-lnuma\fP.
|
||||||
.fi
|
.fi
|
||||||
|
|
|
@ -36,7 +36,7 @@ cfree \- free allocated memory
|
||||||
.BI "void cfree(void *" ptr );
|
.BI "void cfree(void *" ptr );
|
||||||
.PP
|
.PP
|
||||||
/* In SCO OpenServer */
|
/* In SCO OpenServer */
|
||||||
.BI "void cfree(char *" ptr ", unsigned " num ", unsigned " size );
|
.BI "void cfree(char *" ptr ", unsigned int " num ", unsigned int " size );
|
||||||
.PP
|
.PP
|
||||||
/* In Solaris watchmalloc.so.1 */
|
/* In Solaris watchmalloc.so.1 */
|
||||||
.BI "void cfree(void *" ptr ", size_t " nelem ", size_t " elsize );
|
.BI "void cfree(void *" ptr ", size_t " nelem ", size_t " elsize );
|
||||||
|
|
|
@ -21,11 +21,11 @@ DES encryption
|
||||||
.\" .B #include <des_crypt.h>
|
.\" .B #include <des_crypt.h>
|
||||||
.B #include <rpc/des_crypt.h>
|
.B #include <rpc/des_crypt.h>
|
||||||
.PP
|
.PP
|
||||||
.BI "int ecb_crypt(char *" key ", char *" data ", unsigned " datalen ,
|
.BI "int ecb_crypt(char *" key ", char *" data ", unsigned int " datalen ,
|
||||||
.BI " unsigned " mode );
|
.BI " unsigned int " mode );
|
||||||
.PP
|
.PP
|
||||||
.BI "int cbc_crypt(char *" key ", char *" data ", unsigned " datalen ,
|
.BI "int cbc_crypt(char *" key ", char *" data ", unsigned int " datalen ,
|
||||||
.BI " unsigned " mode ", char *" ivec );
|
.BI " unsigned int " mode ", char *" ivec );
|
||||||
.PP
|
.PP
|
||||||
.BI "void des_setparity(char *" key );
|
.BI "void des_setparity(char *" key );
|
||||||
.PP
|
.PP
|
||||||
|
|
|
@ -13,7 +13,7 @@ getrpcport \- get RPC port number
|
||||||
.B "#include <rpc/rpc.h>"
|
.B "#include <rpc/rpc.h>"
|
||||||
.PP
|
.PP
|
||||||
.BI "int getrpcport(const char *" host ", unsigned long " prognum ,
|
.BI "int getrpcport(const char *" host ", unsigned long " prognum ,
|
||||||
.BI " unsigned long " versnum ", unsigned " proto );
|
.BI " unsigned long " versnum ", unsigned int " proto );
|
||||||
.fi
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.BR getrpcport ()
|
.BR getrpcport ()
|
||||||
|
|
|
@ -38,9 +38,9 @@ random, srandom, initstate, setstate \- random number generator
|
||||||
.B #include <stdlib.h>
|
.B #include <stdlib.h>
|
||||||
.PP
|
.PP
|
||||||
.B long random(void);
|
.B long random(void);
|
||||||
.BI "void srandom(unsigned " seed );
|
.BI "void srandom(unsigned int " seed );
|
||||||
.PP
|
.PP
|
||||||
.BI "char *initstate(unsigned " seed ", char *" state ", size_t " n );
|
.BI "char *initstate(unsigned int " seed ", char *" state ", size_t " n );
|
||||||
.BI "char *setstate(char *" state );
|
.BI "char *setstate(char *" state );
|
||||||
.fi
|
.fi
|
||||||
.PP
|
.PP
|
||||||
|
|
|
@ -433,7 +433,7 @@ C characters and their external representations.
|
||||||
This routine returns one if it succeeds, zero otherwise.
|
This routine returns one if it succeeds, zero otherwise.
|
||||||
.PP
|
.PP
|
||||||
.nf
|
.nf
|
||||||
.BI "bool_t xdr_u_int(XDR *" xdrs ", unsigned *" up );
|
.BI "bool_t xdr_u_int(XDR *" xdrs ", unsigned int *" up );
|
||||||
.fi
|
.fi
|
||||||
.IP
|
.IP
|
||||||
A filter primitive that translates between C
|
A filter primitive that translates between C
|
||||||
|
|
Loading…
Reference in New Issue