mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-16 06:52:27 +00:00
General mdoc(7) and typo fixes.
PR: 167734 Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org) MFC after: 3 days
This commit is contained in:
parent
8a3beec66e
commit
a3fb6da9ba
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=235286
|
@ -57,7 +57,7 @@ An advisory lock used to coordinate several Command Generator Applications when
|
||||||
altering the SNMP USM users.
|
altering the SNMP USM users.
|
||||||
.It Va usmUserTable
|
.It Va usmUserTable
|
||||||
The table contains all SNMP USM users configured in
|
The table contains all SNMP USM users configured in
|
||||||
.Nm bsnmpd.
|
.Nm bsnmpd .
|
||||||
The table contains the following objects
|
The table contains the following objects
|
||||||
.Bl -tag -width ".It Va usmUserEngineID"
|
.Bl -tag -width ".It Va usmUserEngineID"
|
||||||
.It Va usmUserEngineID
|
.It Va usmUserEngineID
|
||||||
|
@ -102,7 +102,7 @@ module
|
||||||
These columns may be used to change the user's privacy key.
|
These columns may be used to change the user's privacy key.
|
||||||
.It Va usmUserPublic
|
.It Va usmUserPublic
|
||||||
An arbitrary octet string that may be modified to confirm a SET operation on any
|
An arbitrary octet string that may be modified to confirm a SET operation on any
|
||||||
of the columns was successfull.
|
of the columns was successful.
|
||||||
.It Va usmUserStorageType
|
.It Va usmUserStorageType
|
||||||
This column always has either of two values. Entries created via
|
This column always has either of two values. Entries created via
|
||||||
.Nm bsnmpd's
|
.Nm bsnmpd's
|
||||||
|
|
|
@ -76,7 +76,7 @@ objects under the subtree in the relevant view.
|
||||||
.It Va vacmViewTreeFamilyTable
|
.It Va vacmViewTreeFamilyTable
|
||||||
The table contains a list of SNMP views, i.e. entries specifying the OID of a
|
The table contains a list of SNMP views, i.e. entries specifying the OID of a
|
||||||
MIB subtree and whether access to the objects under this subtree is to be
|
MIB subtree and whether access to the objects under this subtree is to be
|
||||||
allowed or forbiden.
|
allowed or forbidden.
|
||||||
.El
|
.El
|
||||||
.Sh FILES
|
.Sh FILES
|
||||||
.Bl -tag -width "XXXXXXXXX"
|
.Bl -tag -width "XXXXXXXXX"
|
||||||
|
|
|
@ -494,7 +494,8 @@ previously obtained with
|
||||||
.Xr bt_devopen 3 .
|
.Xr bt_devopen 3 .
|
||||||
Filtering can be done on packet types, i.e.
|
Filtering can be done on packet types, i.e.
|
||||||
.Dv ACL ,
|
.Dv ACL ,
|
||||||
.Dv SCO or
|
.Dv SCO
|
||||||
|
or
|
||||||
.Dv HCI ,
|
.Dv HCI ,
|
||||||
command and event packets, and, in addition, on
|
command and event packets, and, in addition, on
|
||||||
.Dv HCI
|
.Dv HCI
|
||||||
|
|
|
@ -44,10 +44,10 @@ Duplicates an existing
|
||||||
.Fa locale_t
|
.Fa locale_t
|
||||||
returning a new
|
returning a new
|
||||||
.Fa locale_t
|
.Fa locale_t
|
||||||
that refers to the same locale values but has independent internal state.
|
that refers to the same locale values but has an independent internal state.
|
||||||
Various functions, such as
|
Various functions, such as
|
||||||
.Xr mblen 3
|
.Xr mblen 3
|
||||||
require presistent state.
|
require a persistent state.
|
||||||
These functions formerly used static variables and calls to them from multiple
|
These functions formerly used static variables and calls to them from multiple
|
||||||
threads had undefined behavior.
|
threads had undefined behavior.
|
||||||
They now use fields in the
|
They now use fields in the
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
.Nd Frees a locale created with
|
.Nd Frees a locale created with
|
||||||
.Xr duplocale 3
|
.Xr duplocale 3
|
||||||
or
|
or
|
||||||
.Xr newlocale 3 .
|
.Xr newlocale 3
|
||||||
.Sh LIBRARY
|
.Sh LIBRARY
|
||||||
.Lb libc
|
.Lb libc
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
|
|
|
@ -51,7 +51,7 @@ Any other components will be inherited from
|
||||||
The
|
The
|
||||||
.Fa mask
|
.Fa mask
|
||||||
is either
|
is either
|
||||||
.Fa LC_ALL_MASK,
|
.Fa LC_ALL_MASK ,
|
||||||
indicating all possible locale components,
|
indicating all possible locale components,
|
||||||
or the logical OR of some combination of the following:
|
or the logical OR of some combination of the following:
|
||||||
.Bl -tag -width "LC_MESSAGES_MASK" -offset indent
|
.Bl -tag -width "LC_MESSAGES_MASK" -offset indent
|
||||||
|
@ -59,7 +59,7 @@ or the logical OR of some combination of the following:
|
||||||
The locale for string collation routines.
|
The locale for string collation routines.
|
||||||
This controls alphabetic ordering in
|
This controls alphabetic ordering in
|
||||||
.Xr strcoll 3
|
.Xr strcoll 3
|
||||||
and
|
and
|
||||||
.Xr strxfrm 3 .
|
.Xr strxfrm 3 .
|
||||||
.It LC_CTYPE_MASK
|
.It LC_CTYPE_MASK
|
||||||
The locale for the
|
The locale for the
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm querylocale
|
.Nm querylocale
|
||||||
.Nd Look up the locale name for a specified category.
|
.Nd Look up the locale name for a specified category
|
||||||
.Sh LIBRARY
|
.Sh LIBRARY
|
||||||
.Lb libc
|
.Lb libc
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
.Fn querylocale "int mask" "locale_t locale"
|
.Fn querylocale "int mask" "locale_t locale"
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
Returns the name of the locale for the category specified by
|
Returns the name of the locale for the category specified by
|
||||||
.Fa mask.
|
.Fa mask .
|
||||||
This possible values for the mask are the same as those in
|
This possible values for the mask are the same as those in
|
||||||
.Xr newlocale 3 .
|
.Xr newlocale 3 .
|
||||||
If more than one bit in the mask is set, the returned value is undefined.
|
If more than one bit in the mask is set, the returned value is undefined.
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm uselocale
|
.Nm uselocale
|
||||||
.Nd Sets a thread-local locale.
|
.Nd Sets a thread-local locale
|
||||||
.Sh LIBRARY
|
.Sh LIBRARY
|
||||||
.Lb libc
|
.Lb libc
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm xlocale
|
.Nm xlocale
|
||||||
.Nd Thread-safe extended locale support.
|
.Nd Thread-safe extended locale support
|
||||||
.Sh LIBRARY
|
.Sh LIBRARY
|
||||||
.Lb libc
|
.Lb libc
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm sctp_connectx
|
.Nm sctp_connectx
|
||||||
.Nd connect an SCTP socket with multiple destination addresses.
|
.Nd connect an SCTP socket with multiple destination addresses
|
||||||
.Sh LIBRARY
|
.Sh LIBRARY
|
||||||
.Lb libc
|
.Lb libc
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
|
|
|
@ -66,7 +66,7 @@ For a one-to-many (SOCK_SEQPACKET) type socket, an endpoint may call
|
||||||
.Fn sctp_recvmsg
|
.Fn sctp_recvmsg
|
||||||
after having implicitly started an association via one
|
after having implicitly started an association via one
|
||||||
of the send calls including
|
of the send calls including
|
||||||
.Fn sctp_sendmsg
|
.Fn sctp_sendmsg ,
|
||||||
.Fn sendto
|
.Fn sendto
|
||||||
and
|
and
|
||||||
.Fn sendmsg .
|
.Fn sendmsg .
|
||||||
|
|
|
@ -158,7 +158,7 @@ For the protocol-independent functions
|
||||||
.Fn getsourcefilter
|
.Fn getsourcefilter
|
||||||
and
|
and
|
||||||
.Fn setsourcefilter ,
|
.Fn setsourcefilter ,
|
||||||
the argument
|
the
|
||||||
.Fa grouplen
|
.Fa grouplen
|
||||||
argument specifies the size of the structure pointed to by
|
argument specifies the size of the structure pointed to by
|
||||||
.Fa group .
|
.Fa group .
|
||||||
|
@ -220,7 +220,7 @@ operation.
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr ip 4 ,
|
.Xr ip 4 ,
|
||||||
.Xr ip6 4 ,
|
.Xr ip6 4 ,
|
||||||
.Xr multicast 4,
|
.Xr multicast 4 ,
|
||||||
.Xr ifmcstat 8
|
.Xr ifmcstat 8
|
||||||
.Rs
|
.Rs
|
||||||
.%A D. Thaler
|
.%A D. Thaler
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm acl_delete_entry ,
|
.Nm acl_delete_entry ,
|
||||||
.Nm acl_delete_entry_np ,
|
.Nm acl_delete_entry_np
|
||||||
.Nd delete an ACL entry from an ACL
|
.Nd delete an ACL entry from an ACL
|
||||||
.Sh LIBRARY
|
.Sh LIBRARY
|
||||||
.Lb libc
|
.Lb libc
|
||||||
|
|
|
@ -35,14 +35,14 @@ has an extra argument,
|
||||||
which is used to decrypt the encrypted secret key stored in the database.
|
which is used to decrypt the encrypted secret key stored in the database.
|
||||||
Both routines return 1 if they are successful in finding the key, 0 otherwise.
|
Both routines return 1 if they are successful in finding the key, 0 otherwise.
|
||||||
The keys are returned as
|
The keys are returned as
|
||||||
.Dv NULL Ns \-terminated ,
|
.Dv NUL Ns \-terminated ,
|
||||||
hexadecimal strings.
|
hexadecimal strings.
|
||||||
If the password supplied to
|
If the password supplied to
|
||||||
.Fn getsecretkey
|
.Fn getsecretkey
|
||||||
fails to decrypt the secret key, the routine will return 1 but the
|
fails to decrypt the secret key, the routine will return 1 but the
|
||||||
.Fa secretkey
|
.Fa secretkey
|
||||||
argument will be a
|
argument will be a
|
||||||
.Dv NULL
|
.Dv NUL
|
||||||
string
|
string
|
||||||
.Pq Dq .
|
.Pq Dq .
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
|
|
|
@ -152,7 +152,8 @@ failed because
|
||||||
is a
|
is a
|
||||||
.Dv NULL
|
.Dv NULL
|
||||||
pointer,
|
pointer,
|
||||||
.Fa string is without an
|
.Fa string
|
||||||
|
is without an
|
||||||
.Dq Li \&=
|
.Dq Li \&=
|
||||||
character or
|
character or
|
||||||
.Dq Li \&=
|
.Dq Li \&=
|
||||||
|
|
|
@ -115,14 +115,14 @@ character is written.
|
||||||
.El
|
.El
|
||||||
.Sh RETURN VALUES
|
.Sh RETURN VALUES
|
||||||
If the total number of resulting bytes including the terminating
|
If the total number of resulting bytes including the terminating
|
||||||
.Dv NULL
|
.Dv NUL
|
||||||
byte is not more than
|
byte is not more than
|
||||||
.Fa maxsize ,
|
.Fa maxsize ,
|
||||||
.Fn strfmon
|
.Fn strfmon
|
||||||
returns the number of bytes placed into the array pointed to by
|
returns the number of bytes placed into the array pointed to by
|
||||||
.Fa s ,
|
.Fa s ,
|
||||||
not including the terminating
|
not including the terminating
|
||||||
.Dv NULL
|
.Dv NUL
|
||||||
byte.
|
byte.
|
||||||
Otherwise, \-1 is returned,
|
Otherwise, \-1 is returned,
|
||||||
the contents of the array are indeterminate,
|
the contents of the array are indeterminate,
|
||||||
|
|
|
@ -169,7 +169,7 @@ if (strlcat(pname, file, sizeof(pname)) >= sizeof(pname))
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
Since it is known how many characters were copied the first time, things
|
Since it is known how many characters were copied the first time, things
|
||||||
can be sped up a bit by using a copy instead of an append
|
can be sped up a bit by using a copy instead of an append.
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
char *dir, *file, pname[MAXPATHLEN];
|
char *dir, *file, pname[MAXPATHLEN];
|
||||||
size_t n;
|
size_t n;
|
||||||
|
|
|
@ -144,7 +144,7 @@ structures of type
|
||||||
.Dv ELF_T_BYTE .
|
.Dv ELF_T_BYTE .
|
||||||
.Ss Special handling of zero-sized and SHT_NOBITS sections
|
.Ss Special handling of zero-sized and SHT_NOBITS sections
|
||||||
For sections of type
|
For sections of type
|
||||||
.Dv SHT_NOBITS,
|
.Dv SHT_NOBITS ,
|
||||||
and for zero-sized sections,
|
and for zero-sized sections,
|
||||||
the functions
|
the functions
|
||||||
.Fn elf_getdata
|
.Fn elf_getdata
|
||||||
|
|
|
@ -64,7 +64,7 @@ encountered.
|
||||||
.It Bq Er ELF_E_ARGUMENT
|
.It Bq Er ELF_E_ARGUMENT
|
||||||
Argument
|
Argument
|
||||||
.Ar elf
|
.Ar elf
|
||||||
was NULL
|
was NULL.
|
||||||
.It Bq Er ELF_E_ARGUMENT
|
.It Bq Er ELF_E_ARGUMENT
|
||||||
Argument
|
Argument
|
||||||
.Ar elf
|
.Ar elf
|
||||||
|
|
|
@ -66,7 +66,7 @@ Function
|
||||||
will retrieve the program header table entry at index
|
will retrieve the program header table entry at index
|
||||||
.Ar index
|
.Ar index
|
||||||
from ELF descriptor
|
from ELF descriptor
|
||||||
.Ar elf.
|
.Ar elf .
|
||||||
The translated program header table entry will be written to the
|
The translated program header table entry will be written to the
|
||||||
address pointed to be argument
|
address pointed to be argument
|
||||||
.Ar dst .
|
.Ar dst .
|
||||||
|
|
|
@ -58,7 +58,8 @@ structure.
|
||||||
Function
|
Function
|
||||||
.Fn elf64_newehdr
|
.Fn elf64_newehdr
|
||||||
returns a pointer to a 64 bit
|
returns a pointer to a 64 bit
|
||||||
.Vt Elf64_Ehdr structure.
|
.Vt Elf64_Ehdr
|
||||||
|
structure.
|
||||||
.Pp
|
.Pp
|
||||||
When argument
|
When argument
|
||||||
.Ar elfclass
|
.Ar elfclass
|
||||||
|
|
|
@ -666,7 +666,7 @@ and sends its contents to the device.
|
||||||
.Pp
|
.Pp
|
||||||
The function
|
The function
|
||||||
.Fn ibwrtkey
|
.Fn ibwrtkey
|
||||||
is obsolete, and not implemented
|
is obsolete, and not implemented.
|
||||||
.Pp
|
.Pp
|
||||||
The function
|
The function
|
||||||
.Fn ibxtrc
|
.Fn ibxtrc
|
||||||
|
|
|
@ -114,7 +114,7 @@ it returns -1 instead.
|
||||||
On success, the
|
On success, the
|
||||||
.Fn kvm_getpcpu
|
.Fn kvm_getpcpu
|
||||||
function returns a pointer to an allocated buffer or
|
function returns a pointer to an allocated buffer or
|
||||||
.Dv NULL.
|
.Dv NULL .
|
||||||
If an error occurs,
|
If an error occurs,
|
||||||
it returns -1 instead.
|
it returns -1 instead.
|
||||||
.Pp
|
.Pp
|
||||||
|
@ -124,7 +124,7 @@ call returns 0; if an error occurs, it returns -1 instead.
|
||||||
.Pp
|
.Pp
|
||||||
If any function encounters an error,
|
If any function encounters an error,
|
||||||
then an error message may be retrieved via
|
then an error message may be retrieved via
|
||||||
.Xr kvm_geterr 3.
|
.Xr kvm_geterr 3 .
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr free 3 ,
|
.Xr free 3 ,
|
||||||
.Xr kvm 3
|
.Xr kvm 3
|
||||||
|
|
|
@ -203,7 +203,7 @@ The
|
||||||
.Fn procstat_get_socket_info
|
.Fn procstat_get_socket_info
|
||||||
and
|
and
|
||||||
.Fn procstat_get_vnode_info
|
.Fn procstat_get_vnode_info
|
||||||
functions are used to retrive information about pipes, pseudo-terminals,
|
functions are used to retrieve information about pipes, pseudo-terminals,
|
||||||
shared memory objects,
|
shared memory objects,
|
||||||
sockets, and vnodes, respectively.
|
sockets, and vnodes, respectively.
|
||||||
Each of them have a similar interface API.
|
Each of them have a similar interface API.
|
||||||
|
|
|
@ -108,8 +108,7 @@ allows clients to perform authentication and accounting by means of
|
||||||
network requests to remote servers.
|
network requests to remote servers.
|
||||||
.Ss Initialization
|
.Ss Initialization
|
||||||
To use the library, an application must first call
|
To use the library, an application must first call
|
||||||
.Fn rad_auth_open
|
.Fn rad_auth_open ,
|
||||||
,
|
|
||||||
.Fn rad_acct_open
|
.Fn rad_acct_open
|
||||||
or
|
or
|
||||||
.Fn rad_server_open
|
.Fn rad_server_open
|
||||||
|
@ -119,8 +118,7 @@ which provides the context for subsequent operations.
|
||||||
The former function is used for RADIUS authentication and the
|
The former function is used for RADIUS authentication and the
|
||||||
latter is used for RADIUS accounting.
|
latter is used for RADIUS accounting.
|
||||||
Calls to
|
Calls to
|
||||||
.Fn rad_auth_open
|
.Fn rad_auth_open ,
|
||||||
,
|
|
||||||
.Fn rad_acct_open
|
.Fn rad_acct_open
|
||||||
and
|
and
|
||||||
.Fn rad_server_open
|
.Fn rad_server_open
|
||||||
|
@ -487,7 +485,7 @@ To respond to the request you should call
|
||||||
.Fn rad_create_response
|
.Fn rad_create_response
|
||||||
and fill response content with same packet writing functions as for client.
|
and fill response content with same packet writing functions as for client.
|
||||||
When packet is ready, it should be sent with
|
When packet is ready, it should be sent with
|
||||||
.Fn rad_send_response
|
.Fn rad_send_response .
|
||||||
.Sh RETURN VALUES
|
.Sh RETURN VALUES
|
||||||
The following functions return a non-negative value on success.
|
The following functions return a non-negative value on success.
|
||||||
If
|
If
|
||||||
|
|
|
@ -380,7 +380,7 @@ the request, and waits for a reply.
|
||||||
On failure,
|
On failure,
|
||||||
.Fn tac_send_acct
|
.Fn tac_send_acct
|
||||||
returns \-1.
|
returns \-1.
|
||||||
Otherwise, it returns the TACACS+ status code
|
Otherwise, it returns the TACACS+ status code.
|
||||||
Possible status codes, defined in
|
Possible status codes, defined in
|
||||||
.In taclib.h ,
|
.In taclib.h ,
|
||||||
include:
|
include:
|
||||||
|
|
|
@ -100,12 +100,12 @@ counter decremented once.
|
||||||
.Ft uint8_t
|
.Ft uint8_t
|
||||||
.Fn libusb_get_bus_number "libusb_device *dev"
|
.Fn libusb_get_bus_number "libusb_device *dev"
|
||||||
Returns the number of the bus contained by the device
|
Returns the number of the bus contained by the device
|
||||||
.Fa dev.
|
.Fa dev .
|
||||||
.Pp
|
.Pp
|
||||||
.Ft uint8_t
|
.Ft uint8_t
|
||||||
.Fn libusb_get_device_address "libusb_device *dev"
|
.Fn libusb_get_device_address "libusb_device *dev"
|
||||||
Returns the device_address contained by the device
|
Returns the device_address contained by the device
|
||||||
.Fa dev.
|
.Fa dev .
|
||||||
.Pp
|
.Pp
|
||||||
.Ft enum libusb_speed
|
.Ft enum libusb_speed
|
||||||
.Fn libusb_get_device_speed "libusb_device *dev"
|
.Fn libusb_get_device_speed "libusb_device *dev"
|
||||||
|
@ -127,12 +127,12 @@ LIBUSB_ERROR_OTHERS on other failure.
|
||||||
.Ft libusb_device *
|
.Ft libusb_device *
|
||||||
.Fn libusb_ref_device "libusb_device *dev"
|
.Fn libusb_ref_device "libusb_device *dev"
|
||||||
Increment the reference counter of the device
|
Increment the reference counter of the device
|
||||||
.Fa dev.
|
.Fa dev .
|
||||||
.Pp
|
.Pp
|
||||||
.Ft void
|
.Ft void
|
||||||
.Fn libusb_unref_device "libusb_device *dev"
|
.Fn libusb_unref_device "libusb_device *dev"
|
||||||
Decrement the reference counter of the device
|
Decrement the reference counter of the device
|
||||||
.Fa dev.
|
.Fa dev .
|
||||||
.Pp
|
.Pp
|
||||||
.Ft int
|
.Ft int
|
||||||
.Fn libusb_open "libusb_device *dev" "libusb_device_handle **devh"
|
.Fn libusb_open "libusb_device *dev" "libusb_device_handle **devh"
|
||||||
|
@ -147,7 +147,7 @@ disconnected and a LIBUSB_ERROR code on other errors.
|
||||||
A convenience function to open a device by vendor and product IDs
|
A convenience function to open a device by vendor and product IDs
|
||||||
.Fa vid
|
.Fa vid
|
||||||
and
|
and
|
||||||
.Fa pid.
|
.Fa pid .
|
||||||
Returns NULL on error.
|
Returns NULL on error.
|
||||||
.Pp
|
.Pp
|
||||||
.Ft void
|
.Ft void
|
||||||
|
@ -161,7 +161,7 @@ Returns NULL on error.
|
||||||
.Pp
|
.Pp
|
||||||
.Ft int
|
.Ft int
|
||||||
.Fn libusb_get_configuration "libusb_device_handle *devh" "int *config"
|
.Fn libusb_get_configuration "libusb_device_handle *devh" "int *config"
|
||||||
Returns the bConfiguration value of the current configuration.
|
Returns the value of the current configuration.
|
||||||
Returns 0
|
Returns 0
|
||||||
on success, LIBUSB_ERROR_NO_DEVICE if the device has been disconnected
|
on success, LIBUSB_ERROR_NO_DEVICE if the device has been disconnected
|
||||||
and a LIBUSB_ERROR code on error.
|
and a LIBUSB_ERROR code on error.
|
||||||
|
@ -171,7 +171,7 @@ and a LIBUSB_ERROR code on error.
|
||||||
Set the active configuration to
|
Set the active configuration to
|
||||||
.Fa config
|
.Fa config
|
||||||
for the device contained by
|
for the device contained by
|
||||||
.Fa devh.
|
.Fa devh .
|
||||||
This function returns 0 on success, LIBUSB_ERROR_NOT_FOUND if the requested
|
This function returns 0 on success, LIBUSB_ERROR_NOT_FOUND if the requested
|
||||||
configuration does not exist, LIBUSB_ERROR_BUSY if the interfaces are currently
|
configuration does not exist, LIBUSB_ERROR_BUSY if the interfaces are currently
|
||||||
claimed, LIBUSB_ERROR_NO_DEVICE if the device has been disconnected and a
|
claimed, LIBUSB_ERROR_NO_DEVICE if the device has been disconnected and a
|
||||||
|
@ -180,7 +180,7 @@ LIBUSB_ERROR code on failure.
|
||||||
.Ft int
|
.Ft int
|
||||||
.Fn libusb_claim_interface "libusb_device_handle *devh" "int interface_number"
|
.Fn libusb_claim_interface "libusb_device_handle *devh" "int interface_number"
|
||||||
Claim an interface in a given libusb_handle
|
Claim an interface in a given libusb_handle
|
||||||
.Fa devh.
|
.Fa devh .
|
||||||
This is a non-blocking function.
|
This is a non-blocking function.
|
||||||
It returns 0 on success, LIBUSB_ERROR_NOT_FOUND
|
It returns 0 on success, LIBUSB_ERROR_NOT_FOUND
|
||||||
if the requested interface does not exist, LIBUSB_ERROR_BUSY if a program or
|
if the requested interface does not exist, LIBUSB_ERROR_BUSY if a program or
|
||||||
|
@ -279,7 +279,7 @@ LIBUSB_ERROR code on failure.
|
||||||
.Ft int
|
.Ft int
|
||||||
.Fn libusb_get_device_descriptor "libusb_device *dev" "libusb_device_descriptor *desc"
|
.Fn libusb_get_device_descriptor "libusb_device *dev" "libusb_device_descriptor *desc"
|
||||||
Get the USB device descriptor for the device
|
Get the USB device descriptor for the device
|
||||||
.Fa dev.
|
.Fa dev .
|
||||||
This is a non-blocking function.
|
This is a non-blocking function.
|
||||||
Returns 0 on success and a LIBUSB_ERROR code on
|
Returns 0 on success and a LIBUSB_ERROR code on
|
||||||
failure.
|
failure.
|
||||||
|
@ -330,11 +330,11 @@ on success and a LIBUSB_ERROR code on failure.
|
||||||
This function parses the USB 3.0 endpoint companion descriptor in host endian format pointed to by
|
This function parses the USB 3.0 endpoint companion descriptor in host endian format pointed to by
|
||||||
.Fa buf
|
.Fa buf
|
||||||
and having a length of
|
and having a length of
|
||||||
.Fa len.
|
.Fa len .
|
||||||
Typically these arguments are the extra and extra_length fields of the
|
Typically these arguments are the extra and extra_length fields of the
|
||||||
endpoint descriptor.
|
endpoint descriptor.
|
||||||
On success the pointer to resulting descriptor is stored at the location given by
|
On success the pointer to resulting descriptor is stored at the location given by
|
||||||
.Fa ep_comp.
|
.Fa ep_comp .
|
||||||
Returns zero on success and a LIBUSB_ERROR code on failure.
|
Returns zero on success and a LIBUSB_ERROR code on failure.
|
||||||
On success the parsed USB 3.0 endpoint companion descriptor must be
|
On success the parsed USB 3.0 endpoint companion descriptor must be
|
||||||
freed using the libusb_free_ss_endpoint_comp function.
|
freed using the libusb_free_ss_endpoint_comp function.
|
||||||
|
@ -348,9 +348,9 @@ This function is NULL safe and frees a parsed USB 3.0 endpoint companion descrip
|
||||||
This function parses a Binary Object Store, BOS, descriptor into host endian format pointed to by
|
This function parses a Binary Object Store, BOS, descriptor into host endian format pointed to by
|
||||||
.Fa buf
|
.Fa buf
|
||||||
and having a length of
|
and having a length of
|
||||||
.Fa len.
|
.Fa len .
|
||||||
On success the pointer to resulting descriptor is stored at the location given by
|
On success the pointer to resulting descriptor is stored at the location given by
|
||||||
.Fa bos.
|
.Fa bos .
|
||||||
Returns zero on success and a LIBUSB_ERROR code on failure.
|
Returns zero on success and a LIBUSB_ERROR code on failure.
|
||||||
On success the parsed BOS descriptor must be freed using the
|
On success the parsed BOS descriptor must be freed using the
|
||||||
libusb_free_bos_descriptor function.
|
libusb_free_bos_descriptor function.
|
||||||
|
|
|
@ -331,7 +331,7 @@ packets are avoided for proxy buffers.
|
||||||
.Pp
|
.Pp
|
||||||
.
|
.
|
||||||
.Fn libusb20_tr_get_max_total_length
|
.Fn libusb20_tr_get_max_total_length
|
||||||
function will return the maximum value for the data length sum of all USB
|
will return the maximum value for the data length sum of all USB
|
||||||
frames associated with an USB transfer.
|
frames associated with an USB transfer.
|
||||||
In case of control transfers the value returned does not include the
|
In case of control transfers the value returned does not include the
|
||||||
length of the SETUP packet, 8 bytes, which is part of frame zero.
|
length of the SETUP packet, 8 bytes, which is part of frame zero.
|
||||||
|
@ -815,7 +815,7 @@ returns the current speed of the given USB device.
|
||||||
.Pp
|
.Pp
|
||||||
.
|
.
|
||||||
.Fn libusb20_dev_get_config_index
|
.Fn libusb20_dev_get_config_index
|
||||||
This function returns the currently select config index for the given
|
returns the currently selected config index for the given
|
||||||
USB device.
|
USB device.
|
||||||
.
|
.
|
||||||
.Pp
|
.Pp
|
||||||
|
@ -832,7 +832,7 @@ will set the debug level for the given USB device.
|
||||||
.Pp
|
.Pp
|
||||||
.
|
.
|
||||||
.Fn libusb20_dev_wait_process
|
.Fn libusb20_dev_wait_process
|
||||||
function will wait until a pending USB transfer has completed on
|
will wait until a pending USB transfer has completed on
|
||||||
the given USB device.
|
the given USB device.
|
||||||
.
|
.
|
||||||
A timeout value can be specified which is passed on to the
|
A timeout value can be specified which is passed on to the
|
||||||
|
@ -866,7 +866,7 @@ returned.
|
||||||
.Pp
|
.Pp
|
||||||
.
|
.
|
||||||
.Fn libusb20_be_get_dev_quirk
|
.Fn libusb20_be_get_dev_quirk
|
||||||
This function will return the device quirk according to
|
will return the device quirk according to
|
||||||
.Fa index
|
.Fa index
|
||||||
into the libusb20_quirk structure pointed to by
|
into the libusb20_quirk structure pointed to by
|
||||||
.Fa pq .
|
.Fa pq .
|
||||||
|
@ -948,7 +948,7 @@ Dequeued USB devices will not be freed when the backend is freed.
|
||||||
.Pp
|
.Pp
|
||||||
.
|
.
|
||||||
.Fn libusb20_be_enqueue_device
|
.Fn libusb20_be_enqueue_device
|
||||||
This function will enqueue the given USB device pointer in the backend USB device list.
|
will enqueue the given USB device pointer in the backend USB device list.
|
||||||
.
|
.
|
||||||
Enqueued USB devices will get freed when the backend is freed.
|
Enqueued USB devices will get freed when the backend is freed.
|
||||||
.
|
.
|
||||||
|
|
|
@ -48,7 +48,7 @@ functions compute the complex exponential of
|
||||||
.Fa z ,
|
.Fa z ,
|
||||||
also known as
|
also known as
|
||||||
.Em cis Ns ( Ns
|
.Em cis Ns ( Ns
|
||||||
.Fa z Ns )
|
.Fa z Ns ) .
|
||||||
.Sh RETURN VALUES
|
.Sh RETURN VALUES
|
||||||
For real numbers
|
For real numbers
|
||||||
.Fa x
|
.Fa x
|
||||||
|
|
|
@ -111,7 +111,7 @@ The
|
||||||
functions described here conform to
|
functions described here conform to
|
||||||
.St -isoC-99 .
|
.St -isoC-99 .
|
||||||
.Sh BUGS
|
.Sh BUGS
|
||||||
The inverse trigonmetric and hyperbolic functions
|
The inverse trigonometric and hyperbolic functions
|
||||||
.Fn cacos ,
|
.Fn cacos ,
|
||||||
.Fn cacosh ,
|
.Fn cacosh ,
|
||||||
.Fn casin ,
|
.Fn casin ,
|
||||||
|
|
|
@ -139,7 +139,7 @@ It sets the atomic variable
|
||||||
.Fa object
|
.Fa object
|
||||||
to its desired
|
to its desired
|
||||||
.Fa value
|
.Fa value
|
||||||
and returs the original contents of the atomic variable.
|
and returns the original contents of the atomic variable.
|
||||||
.Pp
|
.Pp
|
||||||
The
|
The
|
||||||
.Fn atomic_compare_exchange_strong
|
.Fn atomic_compare_exchange_strong
|
||||||
|
@ -203,7 +203,7 @@ The
|
||||||
.Fn atomic_fetch_sub
|
.Fn atomic_fetch_sub
|
||||||
macro subtracts the value
|
macro subtracts the value
|
||||||
.Fa operand
|
.Fa operand
|
||||||
to atomic variable
|
from atomic variable
|
||||||
.Fa object
|
.Fa object
|
||||||
and returns the original contents of the atomic variable.
|
and returns the original contents of the atomic variable.
|
||||||
.Pp
|
.Pp
|
||||||
|
|
|
@ -452,7 +452,7 @@ Set the thread-specific value for the specified key.
|
||||||
.Fa "void \*[lp]*child\*[rp]\*[lp]void\*[rp]"
|
.Fa "void \*[lp]*child\*[rp]\*[lp]void\*[rp]"
|
||||||
.Fc
|
.Fc
|
||||||
.Xc
|
.Xc
|
||||||
Register fork handlers
|
Register fork handlers.
|
||||||
.It Xo
|
.It Xo
|
||||||
.Ft void
|
.Ft void
|
||||||
.Fn pthread_cleanup_pop "int execute"
|
.Fn pthread_cleanup_pop "int execute"
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
.Nm pthread_condattr_getclock ,
|
.Nm pthread_condattr_getclock ,
|
||||||
.Nm pthread_condattr_setclock ,
|
.Nm pthread_condattr_setclock ,
|
||||||
.Nm pthread_condattr_getpshared ,
|
.Nm pthread_condattr_getpshared ,
|
||||||
.Nm pthread_condattr_setpshared ,
|
.Nm pthread_condattr_setpshared
|
||||||
.Nd condition attribute operations
|
.Nd condition attribute operations
|
||||||
.Sh LIBRARY
|
.Sh LIBRARY
|
||||||
.Lb libpthread
|
.Lb libpthread
|
||||||
|
|
|
@ -919,7 +919,7 @@ added support for PPTP and LSNAT as well as general hacking.
|
||||||
.An Paolo Pisati Aq piso@FreeBSD.org
|
.An Paolo Pisati Aq piso@FreeBSD.org
|
||||||
made the library modular, moving support for all
|
made the library modular, moving support for all
|
||||||
protocols (except for IP, TCP and UDP) to external modules.
|
protocols (except for IP, TCP and UDP) to external modules.
|
||||||
.Sh ACKNOWLEDGMENTS
|
.Sh ACKNOWLEDGEMENTS
|
||||||
Listed below, in approximate chronological order, are individuals who
|
Listed below, in approximate chronological order, are individuals who
|
||||||
have provided valuable comments and/or debugging assistance.
|
have provided valuable comments and/or debugging assistance.
|
||||||
.Bd -ragged -offset indent
|
.Bd -ragged -offset indent
|
||||||
|
@ -1277,10 +1277,10 @@ struct dll {
|
||||||
.Ed
|
.Ed
|
||||||
.Bl -inset
|
.Bl -inset
|
||||||
.It Va name
|
.It Va name
|
||||||
is the name of the module
|
is the name of the module.
|
||||||
.It Va handle
|
.It Va handle
|
||||||
is a pointer to the module obtained through
|
is a pointer to the module obtained through
|
||||||
.Xr dlopen 3
|
.Xr dlopen 3 .
|
||||||
.El
|
.El
|
||||||
Whenever a module is loaded in userland, an entry is added to
|
Whenever a module is loaded in userland, an entry is added to
|
||||||
.Va dll_chain ,
|
.Va dll_chain ,
|
||||||
|
|
|
@ -305,7 +305,7 @@ This buffer should be at least
|
||||||
.Li NG_NODESIZ
|
.Li NG_NODESIZ
|
||||||
bytes long.
|
bytes long.
|
||||||
The function returns the node id or 0 if the
|
The function returns the node id or 0 if the
|
||||||
node is not found
|
node is not found.
|
||||||
.Pp
|
.Pp
|
||||||
The function
|
The function
|
||||||
.Fn ng_node_type
|
.Fn ng_node_type
|
||||||
|
@ -396,7 +396,8 @@ of the node with id
|
||||||
.Fa peer .
|
.Fa peer .
|
||||||
The functions return 0 on success or -1 otherwise.
|
The functions return 0 on success or -1 otherwise.
|
||||||
The function
|
The function
|
||||||
.Fn ng_connect2_tee_id does the same as
|
.Fn ng_connect2_tee_id
|
||||||
|
does the same as
|
||||||
.Fn ng_connect2_id
|
.Fn ng_connect2_id
|
||||||
except, that it puts an unnamed tee node between the two nodes.
|
except, that it puts an unnamed tee node between the two nodes.
|
||||||
.Pp
|
.Pp
|
||||||
|
|
|
@ -61,8 +61,8 @@ via
|
||||||
.Va wlanParentIfName
|
.Va wlanParentIfName
|
||||||
column. Any optional parameters may be set
|
column. Any optional parameters may be set
|
||||||
via the
|
via the
|
||||||
.Va wlanIfaceOperatingMode,
|
.Va wlanIfaceOperatingMode ,
|
||||||
.Va wlanIfaceFlags,
|
.Va wlanIfaceFlags ,
|
||||||
.Va wlanIfaceBssid
|
.Va wlanIfaceBssid
|
||||||
and
|
and
|
||||||
.Va wlanIfaceLocalAddress
|
.Va wlanIfaceLocalAddress
|
||||||
|
|
Loading…
Reference in a new issue