This commit is contained in:
Michael Kerrisk 2007-06-20 20:48:54 +00:00
parent 19936f7d4f
commit 89f9f5b25d
6 changed files with 28 additions and 28 deletions

View File

@ -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 {

View File

@ -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)

View File

@ -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.

View File

@ -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

View File

@ -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

View File

@ -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