diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2007-06-20 20:48:54 +0000 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2007-06-20 20:48:54 +0000 |
| commit | 89f9f5b25d0395d0aaf7926aa918c7185b2be6e0 (patch) | |
| tree | 7b981488a151c5923816f43133c890257ded83e8 | |
| parent | 19936f7d4f6208698a11c6eb9d40d1c523ea76ee (diff) | |
| download | man-pages-89f9f5b25d0395d0aaf7926aa918c7185b2be6e0.tar.gz | |
ffix
| -rw-r--r-- | man2/select_tut.2 | 2 | ||||
| -rw-r--r-- | man3/getaddrinfo.3 | 20 | ||||
| -rw-r--r-- | man3/gethostbyname.3 | 2 | ||||
| -rw-r--r-- | man3/getipnodebyname.3 | 14 | ||||
| -rw-r--r-- | man3/getutent.3 | 4 | ||||
| -rw-r--r-- | man4/dsp56k.4 | 14 |
6 files changed, 28 insertions, 28 deletions
diff --git a/man2/select_tut.2 b/man2/select_tut.2 index 1ee5488c40..5d548c8da6 100644 --- a/man2/select_tut.2 +++ b/man2/select_tut.2 @@ -196,7 +196,7 @@ blocks indefinitely waiting for an event. .BR select () to return immediately. -The structure \fBstruct timeval\fP is defined as, +The structure \fIstruct timeval\fP is defined as, .PP .nf struct timeval { diff --git a/man3/getaddrinfo.3 b/man3/getaddrinfo.3 index 8e73217cf0..89289d1d3f 100644 --- a/man3/getaddrinfo.3 +++ b/man3/getaddrinfo.3 @@ -78,16 +78,16 @@ The structure used by this function contains the following members: .sp .nf -.B struct addrinfo { -.BI " int " "ai_flags" ";" -.BI " int " "ai_family" ";" -.BI " int " "ai_socktype" ";" -.BI " int " "ai_protocol" ";" -.BI " size_t " "ai_addrlen" ";" -.BI " struct sockaddr *" "ai_addr" ";" -.BI " char *" "ai_canonname" ";" -.BI " struct addrinfo *" "ai_next" ";" -.B }; +struct addrinfo { + int ai_flags; + int ai_family; + int ai_socktype; + int ai_protocol; + size_t ai_addrlen; + struct sockaddr *ai_addr; + char *ai_canonname; + struct addrinfo *ai_next; +}; .fi .PP .BR getaddrinfo (3) diff --git a/man3/gethostbyname.3 b/man3/gethostbyname.3 index edf114e0fb..e164ab3350 100644 --- a/man3/gethostbyname.3 +++ b/man3/gethostbyname.3 @@ -127,7 +127,7 @@ Valid address types are and .BR AF_INET6 . The host address argument is a pointer to a struct of a type depending -on the address type, for example a \fBstruct in_addr *\fP (probably +on the address type, for example a \fIstruct in_addr *\fP (probably obtained via a call to .BR inet_addr (3)) for address type AF_INET. diff --git a/man3/getipnodebyname.3 b/man3/getipnodebyname.3 index b056863a13..d6468b5d2c 100644 --- a/man3/getipnodebyname.3 +++ b/man3/getipnodebyname.3 @@ -58,13 +58,13 @@ These functions return a pointer to the following structure: .sp .nf -.B struct hostent { -.BI " char *" "h_name" ";" -.BI " char **" "h_aliases" ";" -.BI " int " "h_addrtype" ";" -.BI " int " "h_length" ";" -.BI " char **" "h_addr_list" ";" -.BI "};" +struct hostent { + char *h_name; + char **h_aliases; + int h_addrtype; + int h_length; + char **h_addr_list; +};" .fi .PP These functions replace the diff --git a/man3/getutent.3 b/man3/getutent.3 index 09eb370c97..d8a9c4e898 100644 --- a/man3/getutent.3 +++ b/man3/getutent.3 @@ -107,8 +107,8 @@ will append the new entry to the end of the file. .BR getutline () and .BR pututline () -return a pointer to a \fBstruct utmp\fP on success, and NULL on failure. -This \fBstruct utmp\fP is allocated in static storage, and may be +return a pointer to a \fIstruct utmp\fP on success, and NULL on failure. +This \fIstruct utmp\fP is allocated in static storage, and may be overwritten by subsequent calls. .SH FILES /var/run/utmp database of currently logged-in users diff --git a/man4/dsp56k.4 b/man4/dsp56k.4 index 8045050b7e..85f29098a5 100644 --- a/man4/dsp56k.4 +++ b/man4/dsp56k.4 @@ -44,7 +44,7 @@ number 0. .SH DESCRIPTION The Motorola DSP56001 is a fully programmable 24-bit digital signal processor found in Atari Falcon030-compatible computers. -The \fBdsp56k\fP special file is used to control the DSP56001, and +The \fIdsp56k\fP special file is used to control the DSP56001, and to send and receive data using the bi-directional handshaked host port. .PP @@ -61,13 +61,13 @@ always be seen as 24-bit quantities in the DSP56001. The following .BR ioctl (2) calls are used to control the -\fBdsp56k\fP device: +\fIdsp56k\fP device: .IP \fBDSP56K_UPLOAD\fP resets the DSP56001 and uploads a program. The third .BR ioctl (2) -argument must be a pointer to a \fBstruct dsp56k_binary\fP with members -\fBbin\fP pointing to a DSP56001 binary program, and \fBlen\fP set to +argument must be a pointer to a \fIstruct dsp56k_binary\fP with members +\fIbin\fP pointing to a DSP56001 binary program, and \fIlen\fP set to the length of the program, counted in 24-bit words. .IP \fBDSP56K_SET_TX_WSIZE\fP sets the transmit word size. @@ -95,12 +95,12 @@ Bits 0 and 1 can be written by the host, and bits 2 and To access the host flags, the third .BR ioctl (2) argument must be a pointer -to a \fBstruct dsp56k_host_flags\fP. +to a \fIstruct dsp56k_host_flags\fP. If bit 0 or 1 is set in the -\fBdir\fP member, the corresponding bit in \fBout\fP will be written +\fIdir\fP member, the corresponding bit in \fIout\fP will be written to the host flags. The state of all host flags will be returned in -the lower four bits of the \fBstatus\fP member. +the lower four bits of the \fIstatus\fP member. .IP \fBDSP56K_HOST_CMD\fP sends a host command. Allowed values are in the range 0 to 31, and is a |
