diff options
| author | Kris Kennaway <kris@FreeBSD.org> | 2001-03-05 04:15:27 +0000 |
|---|---|---|
| committer | Kris Kennaway <kris@FreeBSD.org> | 2001-03-05 04:15:27 +0000 |
| commit | 6e3ae1640253fb18df2ed5a49b7906558e150ff9 (patch) | |
| tree | fc141dbd0bc021d062df12ed4adc648c47425dd3 | |
| parent | f82fe43c227ca55a4e51a3bf05d8a3ef3411bb79 (diff) | |
Notes
| -rw-r--r-- | lib/libc/rpc/rpc.3 | 35 | ||||
| -rw-r--r-- | lib/libc/stdlib/tsearch.3 | 2 | ||||
| -rw-r--r-- | lib/libc/xdr/xdr.3 | 4 | ||||
| -rw-r--r-- | lib/libdisk/libdisk.3 | 2 | ||||
| -rw-r--r-- | lib/libftpio/ftpio.3 | 2 | ||||
| -rw-r--r-- | lib/libposix1e/posix1e.3 | 1 | ||||
| -rw-r--r-- | lib/libusb/usb.3 | 18 | ||||
| -rw-r--r-- | lib/libutil/logout.3 | 2 |
8 files changed, 50 insertions, 16 deletions
diff --git a/lib/libc/rpc/rpc.3 b/lib/libc/rpc/rpc.3 index 4e9001d91569..9fedba86c5b9 100644 --- a/lib/libc/rpc/rpc.3 +++ b/lib/libc/rpc/rpc.3 @@ -161,7 +161,7 @@ this routine. .Fa "char *in" .Fa "xdrproc_t outproc" .Fa "char *out" -.Fa "resultproc_t eachresult" +.Fa "bool_t (*eachresult)(caddr_t, struct sockaddr_in *) .Fc .Xc .Pp @@ -174,7 +174,8 @@ response, this routine calls .Fn eachresult , whose form is: .Bd -ragged -offset indent -.Fn eachresult "char *out" "struct sockaddr_in *addr" +.Ft bool_t +.Fn eachresult "caddr_t out" "struct sockaddr_in *addr" .Ed .Pp where @@ -234,6 +235,7 @@ is used to decode the procedure's results; is the time allowed for results to come back. .Pp .It Xo +.Ft void .Fn clnt_destroy "CLIENT *clnt" .Xc .Pp @@ -342,6 +344,7 @@ waits for the server to reply before retransmitting the request. .Pp .It Xo +.Ft bool_t .Fn clnt_freeres "CLIENT *clnt" "xdrproc_t outproc" "char *out" .Xc .Pp @@ -409,6 +412,7 @@ Used after .Fn callrpc . .Pp .It Xo +.Ft void .Fn clnt_perror "CLIENT *clnt" "char *s" .Xc .Pp @@ -806,6 +810,7 @@ See also .Fn clnt_broadcast . .Pp .It Xo +.Ft bool_t .Fn pmap_set "u_long prognum" "u_long versnum" "u_long protocol" "u_short port" .Xc .Pp @@ -829,6 +834,7 @@ Automatically done by .Fn svc_register . .Pp .It Xo +.Ft bool_t .Fn pmap_unset "u_long prognum" "u_long versnum" .Xc .Pp @@ -845,6 +851,7 @@ This routine returns one if it succeeds, zero otherwise. .Pp .It Xo +.Ft bool_t .Fo registerrpc .Fa "u_long prognum" .Fa "u_long versnum" @@ -897,6 +904,7 @@ Use the routine to print the reason why. .Pp .It Xo +.Ft bool_t .Fn svc_destroy "SVCXPRT * xprt" .Xc .Pp @@ -951,6 +959,7 @@ interface is obsoleted by .Va svc_fdset . .Pp .It Xo +.Ft bool_t .Fn svc_freeargs "SVCXPRT *xprt" "xdrproc_t inproc" "char *in" .Xc .Pp @@ -964,6 +973,7 @@ freed, and zero otherwise. .Pp .It Xo +.Ft bool_t .Fn svc_getargs "SVCXPRT *xprt" "xdrproc_t inproc" "char *in" .Xc .Pp @@ -998,6 +1008,7 @@ service transport handle, .Fa xprt . .Pp .It Xo +.Ft void .Fn svc_getreqset "fd_set *rdfds" .Xc .Pp @@ -1020,6 +1031,7 @@ value of have been serviced. .Pp .It Xo +.Ft void .Fn svc_getreq "int rdfds" .Xc .Pp @@ -1030,12 +1042,13 @@ This interface is obsoleted by .Fn svc_getreqset . .Pp .It Xo +.Ft bool_t .Fo svc_register .Fa "SVCXPRT *xprt" .Fa "u_long prognum" .Fa "u_long versnum" -.Fa "void (*dispatch)(void)" -.Fa "u_long protocol" +.Fa "void (*dispatch)(struct svc_req *, SVCXPRT *)" +.Fa "int protocol" .Fc .Xc .Pp @@ -1068,6 +1081,7 @@ The procedure .Fn dispatch has the following form: .Bd -ragged -offset indent +.Ft bool_t .Fn dispatch "struct svc_req *request" "SVCXPRT *xprt" .Ed .Pp @@ -1091,6 +1105,7 @@ This procedure is usually waiting for a system call to return. .Pp .It Xo +.Ft bool_t .Fn svc_sendreply "SVCXPRT *xprt" "xdrproc_t outproc" "char *out" .Xc .Pp @@ -1170,7 +1185,7 @@ Service implementors usually do not need this routine. .Ft void .Xc .It Xo -.Fn svcerr_progvers "SVCXPRT *xprt" +.Fn svcerr_progvers "SVCXPRT *xprt" "u_long low_vers" "u_long high_vers" .Xc .Pp Called when the desired version of a program is not registered @@ -1324,6 +1339,7 @@ receiving messages. .Pp .It Xo +.Ft bool_t .Fn xdr_accepted_reply "XDR *xdrs" "struct accepted_reply *ar" .Xc .Pp @@ -1338,6 +1354,7 @@ messages without using the package. .Pp .It Xo +.Ft bool_t .Fn xdr_authunix_parms "XDR *xdrs" "struct authunix_parms *aupp" .Xc .Pp @@ -1353,6 +1370,7 @@ authentication package. .Ft void .Xc .It Xo +.Ft bool_t .Fn xdr_callhdr "XDR *xdrs" "struct rpc_msg *chdr" .Xc .Pp @@ -1366,6 +1384,7 @@ messages without using the package. .Pp .It Xo +.Ft bool_t .Fn xdr_callmsg "XDR *xdrs" "struct rpc_msg *cmsg" .Xc .Pp @@ -1379,6 +1398,7 @@ messages without using the package. .Pp .It Xo +.Ft bool_t .Fn xdr_opaque_auth "XDR *xdrs" "struct opaque_auth *ap" .Xc .Pp @@ -1392,6 +1412,8 @@ messages without using the package. .Pp .It Xo +.Fd struct pmap ; +.Ft bool_t .Fn xdr_pmap "XDR *xdrs" "struct pmap *regs" .Xc .Pp @@ -1404,6 +1426,7 @@ these parameters without using the interface. .Pp .It Xo +.Ft bool_t .Fn xdr_pmaplist "XDR *xdrs" "struct pmaplist **rp" .Xc .Pp @@ -1414,6 +1437,7 @@ these parameters without using the interface. .Pp .It Xo +.Ft bool_t .Fn xdr_rejected_reply "XDR *xdrs" "struct rejected_reply *rr" .Xc .Pp @@ -1427,6 +1451,7 @@ messages without using the package. .Pp .It Xo +.Ft bool_t .Fn xdr_replymsg "XDR *xdrs" "struct rpc_msg *rmsg" .Xc .Pp diff --git a/lib/libc/stdlib/tsearch.3 b/lib/libc/stdlib/tsearch.3 index 051eea4c7031..1df846c696cc 100644 --- a/lib/libc/stdlib/tsearch.3 +++ b/lib/libc/stdlib/tsearch.3 @@ -38,7 +38,7 @@ .Ft void * .Fn tdelete "const void *key" "void **rootp" "int (*compar) (const void *, const void *)" .Ft void * -.Fn tfind "const void *key" "const void **rootp" "int (*compar) (const void *, const void *)" +.Fn tfind "const void *key" "void **rootp" "int (*compar) (const void *, const void *)" .Ft void * .Fn tsearch "const void *key" "void **rootp" "int (*compar) (const void *, const void *)" .Ft void diff --git a/lib/libc/xdr/xdr.3 b/lib/libc/xdr/xdr.3 index 95cb37c9e8c0..0b933bc3bb10 100644 --- a/lib/libc/xdr/xdr.3 +++ b/lib/libc/xdr/xdr.3 @@ -10,6 +10,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS +.Fd "#include <rpc/types.h>" .Fd "#include <rpc/xdr.h>" .Pp See @@ -495,12 +496,15 @@ A filter primitive that translates between C integers and their external representations. This routine returns one if it succeeds, zero otherwise. .Pp +.Fd #ifdef _STDIO_H_ +.Fd /* XDR using stdio library */ .It Xo .Ft void .Xc .It Xo .Fn xdrstdio_create "XDR *xdrs" "FILE *file" "enum xdr_op op" .Xc +.Fd #endif .Pp This routine initializes the .Tn XDR diff --git a/lib/libdisk/libdisk.3 b/lib/libdisk/libdisk.3 index db582ec4af2e..be3b9d3200ee 100644 --- a/lib/libdisk/libdisk.3 +++ b/lib/libdisk/libdisk.3 @@ -94,7 +94,7 @@ .Ft char ** .Fn Disk_Names "void" .Ft void -.Fn Set_Boot_Mgr "struct disk *d" "const u_char *bootmgr" +.Fn Set_Boot_Mgr "struct disk *d" "const u_char *bootmgr" "const size_t bootmgr_size" .Ft void .Fn Set_Boot_Blocks "struct disk *d" "const u_char *boot1" "const u_char *boot2" .Ft int diff --git a/lib/libftpio/ftpio.3 b/lib/libftpio/ftpio.3 index 6815992b1dfc..a92f3628888b 100644 --- a/lib/libftpio/ftpio.3 +++ b/lib/libftpio/ftpio.3 @@ -74,7 +74,7 @@ .Fn ftpGetURL "char *url, char *user, char *passwd, int *retcode" .Ft FILE * .Fn ftpPutURL "char *url, char *user, char *passwd, int *retcode" -.Ft int +.Ft FILE * .Fn ftpLoginAf "char *host" "int af" "char *user" "char *passwd" "int ftp_port" "int verbose" "int *retcode" .Ft FILE * .Fn ftpGetURLAf "char *url" "int af" "char *user" "char *passwd" "int *retcode" diff --git a/lib/libposix1e/posix1e.3 b/lib/libposix1e/posix1e.3 index a019e9d231ec..4dee2288773a 100644 --- a/lib/libposix1e/posix1e.3 +++ b/lib/libposix1e/posix1e.3 @@ -34,6 +34,7 @@ .Sh LIBRARY .Lb libposix1e .Sh SYNOPSIS +.Fd #include <sys/types.h> .Fd #include <sys/acl.h> .Fd #include <sys/audit.h> .Fd #include <sys/capability.h> diff --git a/lib/libusb/usb.3 b/lib/libusb/usb.3 index af03ea510d66..a921cb30c356 100644 --- a/lib/libusb/usb.3 +++ b/lib/libusb/usb.3 @@ -60,17 +60,21 @@ .Ft int .Fn hid_report_size "report_desc_t d" "hid_kind_t k" "int *idp" .Ft int -.Fn hid_locate "report_desc_t d" "u_int usage" "hid_kind_t k" "hid_item_t *h" -.Ft char * +.Fn hid_locate "report_desc_t d" "unsigned int usage" "hid_kind_t k" "hid_item_t *h" +.Ft const char * .Fn hid_usage_page "int i" -.Ft char * -.Fn hid_usage_in_page "u_int u" +.Ft const char * +.Fn hid_usage_in_page "unsigned int u" +.Ft int +.Fn hid_parse_usage_page "const char *name" +.Ft int +.Fn hid_parse_usage_in_page "const char *name" .Ft void -.Fn hid_init "char *file" +.Fn hid_init "const char *file" .Ft int -.Fn hid_get_data "void *data" "hid_item_t *h" +.Fn hid_get_data "const void *data" "const hid_item_t *h" .Ft void -.Fn hid_set_data "void *data" "hid_item_t *h" "u_int data" +.Fn hid_set_data "void *p" "const hid_item_t *h" "int data" .Sh DESCRIPTION The .Nm diff --git a/lib/libutil/logout.3 b/lib/libutil/logout.3 index 2f62b4d2f4ee..dd083abb6b63 100644 --- a/lib/libutil/logout.3 +++ b/lib/libutil/logout.3 @@ -37,7 +37,7 @@ .Fd #include <sys/types.h> .Fd #include <libutil.h> .Ft int -.Fn logout "char *line" +.Fn logout "const char *line" .Sh DESCRIPTION The function .Fn logout |
