View | Details | Raw Unified | Return to bug 167734
Collapse All | Expand All

(-)./ATOMIC_VAR_INIT.3 (-2 / +2 lines)
Lines 139-145 Link Here
139
.Fa object
139
.Fa object
140
to its desired
140
to its desired
141
.Fa value
141
.Fa value
142
and returs the original contents of the atomic variable.
142
and returns the original contents of the atomic variable.
143
.Pp
143
.Pp
144
The
144
The
145
.Fn atomic_compare_exchange_strong
145
.Fn atomic_compare_exchange_strong
Lines 203-209 Link Here
203
.Fn atomic_fetch_sub
203
.Fn atomic_fetch_sub
204
macro subtracts the value
204
macro subtracts the value
205
.Fa operand
205
.Fa operand
206
to atomic variable
206
from atomic variable
207
.Fa object
207
.Fa object
208
and returns the original contents of the atomic variable.
208
and returns the original contents of the atomic variable.
209
.Pp
209
.Pp
(-)./acl_delete_entry.3 (-1 / +1 lines)
Lines 30-36 Link Here
30
.Os
30
.Os
31
.Sh NAME
31
.Sh NAME
32
.Nm acl_delete_entry ,
32
.Nm acl_delete_entry ,
33
.Nm acl_delete_entry_np ,
33
.Nm acl_delete_entry_np
34
.Nd delete an ACL entry from an ACL
34
.Nd delete an ACL entry from an ACL
35
.Sh LIBRARY
35
.Sh LIBRARY
36
.Lb libc
36
.Lb libc
(-)./archive_read_open.3 (-2 / +2 lines)
Lines 186-192 Link Here
186
zero.
186
zero.
187
If the skip callback is not provided (the
187
If the skip callback is not provided (the
188
function pointer is
188
function pointer is
189
.Dv NULL ),
189
.Dv NULL ) ,
190
the library will invoke the read function
190
the library will invoke the read function
191
instead and simply discard the result.
191
instead and simply discard the result.
192
A skip callback can provide significant
192
A skip callback can provide significant
Lines 203-209 Link Here
203
.Fn archive_set_error
203
.Fn archive_set_error
204
to register an error code and message and
204
to register an error code and message and
205
return
205
return
206
.Cm ARCHIVE_FATAL.
206
.Cm ARCHIVE_FATAL .
207
.\" .Sh EXAMPLE
207
.\" .Sh EXAMPLE
208
.\"
208
.\"
209
.Sh RETURN VALUES
209
.Sh RETURN VALUES
(-)./archive_write_filter.3 (+1 lines)
Lines 36-41 Link Here
36
.Nm archive_write_add_filter_none ,
36
.Nm archive_write_add_filter_none ,
37
.Nm archive_write_add_filter_program ,
37
.Nm archive_write_add_filter_program ,
38
.Nm archive_write_add_filter_xz
38
.Nm archive_write_add_filter_xz
39
.Nd functions for writing streaming archives
39
.Sh SYNOPSIS
40
.Sh SYNOPSIS
40
.In archive.h
41
.In archive.h
41
.Ft int
42
.Ft int
(-)./archive_write_open.3 (-1 / +1 lines)
Lines 188-194 Link Here
188
.Fn archive_set_error
188
.Fn archive_set_error
189
to register an error code and message and
189
to register an error code and message and
190
return
190
return
191
.Cm ARCHIVE_FATAL.
191
.Cm ARCHIVE_FATAL .
192
.Pp
192
.Pp
193
Note that if the client-provided write callback function
193
Note that if the client-provided write callback function
194
returns a non-zero value, that error will be propagated back to the caller
194
returns a non-zero value, that error will be propagated back to the caller
(-)./archive_write_set_options.3 (-1 / +1 lines)
Lines 265-271 Link Here
265
the default is
265
the default is
266
.Cm fd ,
266
.Cm fd ,
267
otherwise the default is
267
otherwise the default is
268
.Cm no-emulation.
268
.Cm no-emulation .
269
.El
269
.El
270
.It Format iso9660 - filename and size extensions
270
.It Format iso9660 - filename and size extensions
271
Various extensions to the base ISO9660 format.
271
Various extensions to the base ISO9660 format.
(-)./bluetooth.3 (-1 / +2 lines)
Lines 494-500 Link Here
494
.Xr bt_devopen 3 .
494
.Xr bt_devopen 3 .
495
Filtering can be done on packet types, i.e.
495
Filtering can be done on packet types, i.e.
496
.Dv ACL ,
496
.Dv ACL ,
497
.Dv SCO or
497
.Dv SCO
498
or
498
.Dv HCI ,
499
.Dv HCI ,
499
command and event packets, and, in addition, on
500
command and event packets, and, in addition, on
500
.Dv HCI
501
.Dv HCI
(-)./cexp.3 (-1 / +1 lines)
Lines 48-54 Link Here
48
.Fa z ,
48
.Fa z ,
49
also known as
49
also known as
50
.Em cis Ns ( Ns
50
.Em cis Ns ( Ns
51
.Fa z Ns )
51
.Fa z Ns ) .
52
.Sh RETURN VALUES
52
.Sh RETURN VALUES
53
For real numbers
53
For real numbers
54
.Fa x
54
.Fa x
(-)./complex.3 (-1 / +1 lines)
Lines 111-117 Link Here
111
functions described here conform to
111
functions described here conform to
112
.St -isoC-99 .
112
.St -isoC-99 .
113
.Sh BUGS
113
.Sh BUGS
114
The inverse trigonmetric and hyperbolic functions
114
The inverse trigonometric and hyperbolic functions
115
.Fn cacos ,
115
.Fn cacos ,
116
.Fn cacosh ,
116
.Fn cacosh ,
117
.Fn casin ,
117
.Fn casin ,
(-)./duplocale.3 (-1 / +1 lines)
Lines 47-53 Link Here
47
that refers to the same locale values but has independent internal state.
47
that refers to the same locale values but has independent internal state.
48
Various functions, such as
48
Various functions, such as
49
.Xr mblen 3
49
.Xr mblen 3
50
require presistent state.
50
require persistent state.
51
These functions formerly used static variables and calls to them from multiple
51
These functions formerly used static variables and calls to them from multiple
52
threads had undefined behavior.
52
threads had undefined behavior.
53
They now use fields in the
53
They now use fields in the
(-)./elf_getarsym.3 (-1 / +1 lines)
Lines 54-60 Link Here
54
If the archive
54
If the archive
55
.Ar elf
55
.Ar elf
56
contains a symbol table with n entries, this function returns a
56
contains a symbol table with n entries, this function returns a
57
pointer to an array of n+1
57
pointer to an array of n+1'th
58
.Vt Elf_Arsym
58
.Vt Elf_Arsym
59
structures.
59
structures.
60
An
60
An
(-)./elf_getdata.3 (-1 / +1 lines)
Lines 144-150 Link Here
144
.Dv ELF_T_BYTE .
144
.Dv ELF_T_BYTE .
145
.Ss Special handling of zero-sized and SHT_NOBITS sections
145
.Ss Special handling of zero-sized and SHT_NOBITS sections
146
For sections of type
146
For sections of type
147
.Dv SHT_NOBITS,
147
.Dv SHT_NOBITS ,
148
and for zero-sized sections,
148
and for zero-sized sections,
149
the functions
149
the functions
150
.Fn elf_getdata
150
.Fn elf_getdata
(-)./elf_rand.3 (-1 / +1 lines)
Lines 28-34 Link Here
28
.Os
28
.Os
29
.Sh NAME
29
.Sh NAME
30
.Nm elf_rand
30
.Nm elf_rand
31
.Nd provide sequential access to the next archive member
31
.Nd provide directly access to the archive member
32
.Sh LIBRARY
32
.Sh LIBRARY
33
.Lb libelf
33
.Lb libelf
34
.Sh SYNOPSIS
34
.Sh SYNOPSIS
(-)./elf_strptr.3 (-1 / +1 lines)
Lines 64-70 Link Here
64
.It Bq Er ELF_E_ARGUMENT
64
.It Bq Er ELF_E_ARGUMENT
65
Argument
65
Argument
66
.Ar elf
66
.Ar elf
67
was NULL
67
was NULL.
68
.It Bq Er ELF_E_ARGUMENT
68
.It Bq Er ELF_E_ARGUMENT
69
Argument
69
Argument
70
.Ar elf
70
.Ar elf
(-)./freelocale.3 (-1 / +1 lines)
Lines 34-40 Link Here
34
.Nd Frees a locale created with
34
.Nd Frees a locale created with
35
.Xr duplocale 3
35
.Xr duplocale 3
36
or
36
or
37
.Xr newlocale 3 .
37
.Xr newlocale 3
38
.Sh LIBRARY
38
.Sh LIBRARY
39
.Lb libc
39
.Lb libc
40
.Sh SYNOPSIS
40
.Sh SYNOPSIS
(-)./gelf_getphdr.3 (-1 / +1 lines)
Lines 66-72 Link Here
66
will retrieve the program header table entry at index
66
will retrieve the program header table entry at index
67
.Ar index
67
.Ar index
68
from ELF descriptor
68
from ELF descriptor
69
.Ar elf.
69
.Ar elf .
70
The translated program header table entry will be written to the
70
The translated program header table entry will be written to the
71
address pointed to be argument
71
address pointed to be argument
72
.Ar dst .
72
.Ar dst .
(-)./gelf_newehdr.3 (-1 / +2 lines)
Lines 58-64 Link Here
58
Function
58
Function
59
.Fn elf64_newehdr
59
.Fn elf64_newehdr
60
returns a pointer to a 64 bit
60
returns a pointer to a 64 bit
61
.Vt Elf64_Ehdr structure.
61
.Vt Elf64_Ehdr
62
structure.
62
.Pp
63
.Pp
63
When argument
64
When argument
64
.Ar elfclass
65
.Ar elfclass
(-)./getenv.3 (-1 / +2 lines)
Lines 152-158 Link Here
152
is a
152
is a
153
.Dv NULL
153
.Dv NULL
154
pointer,
154
pointer,
155
.Fa string is without an
155
.Fa string
156
is without an
156
.Dq Li \&=
157
.Dq Li \&=
157
character or
158
character or
158
.Dq Li \&=
159
.Dq Li \&=
(-)./getopt_long.3 (-1 / +1 lines)
Lines 472-478 Link Here
472
.Fn getopt_long_only
472
.Fn getopt_long_only
473
functions first appeared in the
473
functions first appeared in the
474
.Tn GNU
474
.Tn GNU
475
libiberty library.
475
library.
476
The first
476
The first
477
.Bx
477
.Bx
478
implementation of
478
implementation of
(-)./gpib.3 (-1 / +1 lines)
Lines 666-672 Link Here
666
.Pp
666
.Pp
667
The function
667
The function
668
.Fn ibwrtkey
668
.Fn ibwrtkey
669
is obsolete, and not implemented
669
is obsolete, and not implemented.
670
.Pp
670
.Pp
671
The function
671
The function
672
.Fn ibxtrc
672
.Fn ibxtrc
(-)./kvm_getpcpu.3 (-2 / +2 lines)
Lines 114-120 Link Here
114
On success, the
114
On success, the
115
.Fn kvm_getpcpu
115
.Fn kvm_getpcpu
116
function returns a pointer to an allocated buffer or
116
function returns a pointer to an allocated buffer or
117
.Dv NULL.
117
.Dv NULL .
118
If an error occurs,
118
If an error occurs,
119
it returns -1 instead.
119
it returns -1 instead.
120
.Pp
120
.Pp
Lines 124-130 Link Here
124
.Pp
124
.Pp
125
If any function encounters an error,
125
If any function encounters an error,
126
then an error message may be retrieved via
126
then an error message may be retrieved via
127
.Xr kvm_geterr 3.
127
.Xr kvm_geterr 3 .
128
.Sh SEE ALSO
128
.Sh SEE ALSO
129
.Xr free 3 ,
129
.Xr free 3 ,
130
.Xr kvm 3
130
.Xr kvm 3
(-)./libalias.3 (-3 / +3 lines)
Lines 919-925 Link Here
919
.An Paolo Pisati Aq piso@FreeBSD.org
919
.An Paolo Pisati Aq piso@FreeBSD.org
920
made the library modular, moving support for all
920
made the library modular, moving support for all
921
protocols (except for IP, TCP and UDP) to external modules.
921
protocols (except for IP, TCP and UDP) to external modules.
922
.Sh ACKNOWLEDGMENTS
922
.Sh ACKNOWLEDGEMENTS
923
Listed below, in approximate chronological order, are individuals who
923
Listed below, in approximate chronological order, are individuals who
924
have provided valuable comments and/or debugging assistance.
924
have provided valuable comments and/or debugging assistance.
925
.Bd -ragged -offset indent
925
.Bd -ragged -offset indent
Lines 1277-1286 Link Here
1277
.Ed
1277
.Ed
1278
.Bl -inset
1278
.Bl -inset
1279
.It Va name
1279
.It Va name
1280
is the name of the module
1280
is the name of the module.
1281
.It Va handle
1281
.It Va handle
1282
is a pointer to the module obtained through
1282
is a pointer to the module obtained through
1283
.Xr dlopen 3
1283
.Xr dlopen 3 .
1284
.El
1284
.El
1285
Whenever a module is loaded in userland, an entry is added to
1285
Whenever a module is loaded in userland, an entry is added to
1286
.Va dll_chain ,
1286
.Va dll_chain ,
(-)./libarchive_internals.3 (-1 / +1 lines)
Lines 126-132 Link Here
126
entire file to libarchive as a single block;
126
entire file to libarchive as a single block;
127
other clients may begin asynchronous I/O operations for the
127
other clients may begin asynchronous I/O operations for the
128
next block on each request.
128
next block on each request.
129
.Ss Decompresssion Layer
129
.Ss Decompression Layer
130
The decompression layer not only handles decompression,
130
The decompression layer not only handles decompression,
131
it also buffers data so that the format handlers see a
131
it also buffers data so that the format handlers see a
132
much nicer I/O model.
132
much nicer I/O model.
(-)./libprocstat.3 (-1 / +1 lines)
Lines 203-209 Link Here
203
.Fn procstat_get_socket_info
203
.Fn procstat_get_socket_info
204
and
204
and
205
.Fn procstat_get_vnode_info
205
.Fn procstat_get_vnode_info
206
functions are used to retrive information about pipes, pseudo-terminals,
206
functions are used to retrieve information about pipes, pseudo-terminals,
207
shared memory objects,
207
shared memory objects,
208
sockets, and vnodes, respectively.
208
sockets, and vnodes, respectively.
209
Each of them have a similar interface API.
209
Each of them have a similar interface API.
(-)./libradius.3 (-5 / +3 lines)
Lines 108-115 Link Here
108
network requests to remote servers.
108
network requests to remote servers.
109
.Ss Initialization
109
.Ss Initialization
110
To use the library, an application must first call
110
To use the library, an application must first call
111
.Fn rad_auth_open
111
.Fn rad_auth_open ,
112
,
113
.Fn rad_acct_open
112
.Fn rad_acct_open
114
or
113
or
115
.Fn rad_server_open
114
.Fn rad_server_open
Lines 119-126 Link Here
119
The former function is used for RADIUS authentication and the
118
The former function is used for RADIUS authentication and the
120
latter is used for RADIUS accounting.
119
latter is used for RADIUS accounting.
121
Calls to
120
Calls to
122
.Fn rad_auth_open
121
.Fn rad_auth_open ,
123
,
124
.Fn rad_acct_open
122
.Fn rad_acct_open
125
and
123
and
126
.Fn rad_server_open
124
.Fn rad_server_open
Lines 487-493 Link Here
487
.Fn rad_create_response
485
.Fn rad_create_response
488
and fill response content with same packet writing functions as for client.
486
and fill response content with same packet writing functions as for client.
489
When packet is ready, it should be sent with
487
When packet is ready, it should be sent with
490
.Fn rad_send_response
488
.Fn rad_send_response .
491
.Sh RETURN VALUES
489
.Sh RETURN VALUES
492
The following functions return a non-negative value on success.
490
The following functions return a non-negative value on success.
493
If
491
If
(-)./libtacplus.3 (-1 / +1 lines)
Lines 380-386 Link Here
380
On failure,
380
On failure,
381
.Fn tac_send_acct
381
.Fn tac_send_acct
382
returns \-1.
382
returns \-1.
383
Otherwise, it returns the TACACS+ status code
383
Otherwise, it returns the TACACS+ status code.
384
Possible status codes, defined in
384
Possible status codes, defined in
385
.In taclib.h ,
385
.In taclib.h ,
386
include:
386
include:
(-)./libusb.3 (-13 / +13 lines)
Lines 100-111 Link Here
100
.Ft uint8_t
100
.Ft uint8_t
101
.Fn libusb_get_bus_number "libusb_device *dev"
101
.Fn libusb_get_bus_number "libusb_device *dev"
102
Returns the number of the bus contained by the device
102
Returns the number of the bus contained by the device
103
.Fa dev.
103
.Fa dev .
104
.Pp
104
.Pp
105
.Ft uint8_t
105
.Ft uint8_t
106
.Fn libusb_get_device_address "libusb_device *dev"
106
.Fn libusb_get_device_address "libusb_device *dev"
107
Returns the device_address contained by the device
107
Returns the device_address contained by the device
108
.Fa dev.
108
.Fa dev .
109
.Pp
109
.Pp
110
.Ft enum libusb_speed
110
.Ft enum libusb_speed
111
.Fn libusb_get_device_speed "libusb_device *dev"
111
.Fn libusb_get_device_speed "libusb_device *dev"
Lines 127-138 Link Here
127
.Ft libusb_device *
127
.Ft libusb_device *
128
.Fn libusb_ref_device "libusb_device *dev"
128
.Fn libusb_ref_device "libusb_device *dev"
129
Increment the reference counter of the device
129
Increment the reference counter of the device
130
.Fa dev.
130
.Fa dev .
131
.Pp
131
.Pp
132
.Ft void
132
.Ft void
133
.Fn libusb_unref_device "libusb_device *dev"
133
.Fn libusb_unref_device "libusb_device *dev"
134
Decrement the reference counter of the device
134
Decrement the reference counter of the device
135
.Fa dev.
135
.Fa dev .
136
.Pp
136
.Pp
137
.Ft int
137
.Ft int
138
.Fn libusb_open "libusb_device *dev" "libusb_device_handle **devh"
138
.Fn libusb_open "libusb_device *dev" "libusb_device_handle **devh"
Lines 147-153 Link Here
147
A convenience function to open a device by vendor and product IDs
147
A convenience function to open a device by vendor and product IDs
148
.Fa vid
148
.Fa vid
149
and
149
and
150
.Fa pid.
150
.Fa pid .
151
Returns NULL on error.
151
Returns NULL on error.
152
.Pp
152
.Pp
153
.Ft void
153
.Ft void
Lines 161-167 Link Here
161
.Pp
161
.Pp
162
.Ft int
162
.Ft int
163
.Fn libusb_get_configuration "libusb_device_handle *devh" "int *config"
163
.Fn libusb_get_configuration "libusb_device_handle *devh" "int *config"
164
Returns the bConfiguration value of the current configuration.
164
Returns the Configuration value of the current configuration.
165
Returns 0
165
Returns 0
166
on success, LIBUSB_ERROR_NO_DEVICE if the device has been disconnected
166
on success, LIBUSB_ERROR_NO_DEVICE if the device has been disconnected
167
and a LIBUSB_ERROR code on error.
167
and a LIBUSB_ERROR code on error.
Lines 171-177 Link Here
171
Set the active configuration to
171
Set the active configuration to
172
.Fa config
172
.Fa config
173
for the device contained by
173
for the device contained by
174
.Fa devh.
174
.Fa devh .
175
This function returns 0 on success, LIBUSB_ERROR_NOT_FOUND if the requested
175
This function returns 0 on success, LIBUSB_ERROR_NOT_FOUND if the requested
176
configuration does not exist, LIBUSB_ERROR_BUSY if the interfaces are currently
176
configuration does not exist, LIBUSB_ERROR_BUSY if the interfaces are currently
177
claimed, LIBUSB_ERROR_NO_DEVICE if the device has been disconnected and a
177
claimed, LIBUSB_ERROR_NO_DEVICE if the device has been disconnected and a
Lines 180-186 Link Here
180
.Ft int
180
.Ft int
181
.Fn libusb_claim_interface "libusb_device_handle *devh" "int interface_number"
181
.Fn libusb_claim_interface "libusb_device_handle *devh" "int interface_number"
182
Claim an interface in a given libusb_handle
182
Claim an interface in a given libusb_handle
183
.Fa devh.
183
.Fa devh .
184
This is a non-blocking function.
184
This is a non-blocking function.
185
It returns 0 on success, LIBUSB_ERROR_NOT_FOUND
185
It returns 0 on success, LIBUSB_ERROR_NOT_FOUND
186
if the requested interface does not exist, LIBUSB_ERROR_BUSY if a program or
186
if the requested interface does not exist, LIBUSB_ERROR_BUSY if a program or
Lines 279-285 Link Here
279
.Ft int
279
.Ft int
280
.Fn libusb_get_device_descriptor "libusb_device *dev" "libusb_device_descriptor *desc"
280
.Fn libusb_get_device_descriptor "libusb_device *dev" "libusb_device_descriptor *desc"
281
Get the USB device descriptor for the device
281
Get the USB device descriptor for the device
282
.Fa dev.
282
.Fa dev .
283
This is a non-blocking function.
283
This is a non-blocking function.
284
Returns 0 on success and a LIBUSB_ERROR code on
284
Returns 0 on success and a LIBUSB_ERROR code on
285
failure.
285
failure.
Lines 330-340 Link Here
330
This function parses the USB 3.0 endpoint companion descriptor in host endian format pointed to by
330
This function parses the USB 3.0 endpoint companion descriptor in host endian format pointed to by
331
.Fa buf
331
.Fa buf
332
and having a length of
332
and having a length of
333
.Fa len.
333
.Fa len .
334
Typically these arguments are the extra and extra_length fields of the
334
Typically these arguments are the extra and extra_length fields of the
335
endpoint descriptor.
335
endpoint descriptor.
336
On success the pointer to resulting descriptor is stored at the location given by
336
On success the pointer to resulting descriptor is stored at the location given by
337
.Fa ep_comp.
337
.Fa ep_comp .
338
Returns zero on success and a LIBUSB_ERROR code on failure.
338
Returns zero on success and a LIBUSB_ERROR code on failure.
339
On success the parsed USB 3.0 endpoint companion descriptor must be
339
On success the parsed USB 3.0 endpoint companion descriptor must be
340
freed using the libusb_free_ss_endpoint_comp function.
340
freed using the libusb_free_ss_endpoint_comp function.
Lines 348-356 Link Here
348
This function parses a Binary Object Store, BOS, descriptor into host endian format pointed to by
348
This function parses a Binary Object Store, BOS, descriptor into host endian format pointed to by
349
.Fa buf
349
.Fa buf
350
and having a length of
350
and having a length of
351
.Fa len.
351
.Fa len .
352
On success the pointer to resulting descriptor is stored at the location given by
352
On success the pointer to resulting descriptor is stored at the location given by
353
.Fa bos.
353
.Fa bos .
354
Returns zero on success and a LIBUSB_ERROR code on failure.
354
Returns zero on success and a LIBUSB_ERROR code on failure.
355
On success the parsed BOS descriptor must be freed using the
355
On success the parsed BOS descriptor must be freed using the
356
libusb_free_bos_descriptor function.
356
libusb_free_bos_descriptor function.
(-)./libusb20.3 (-5 / +5 lines)
Lines 331-337 Link Here
331
.Pp
331
.Pp
332
.
332
.
333
.Fn libusb20_tr_get_max_total_length
333
.Fn libusb20_tr_get_max_total_length
334
function will return the maximum value for the data length sum of all USB
334
will return the maximum value for the data length sum of all USB
335
frames associated with an USB transfer.
335
frames associated with an USB transfer.
336
In case of control transfers the value returned does not include the
336
In case of control transfers the value returned does not include the
337
length of the SETUP packet, 8 bytes, which is part of frame zero.
337
length of the SETUP packet, 8 bytes, which is part of frame zero.
Lines 815-821 Link Here
815
.Pp
815
.Pp
816
.
816
.
817
.Fn libusb20_dev_get_config_index
817
.Fn libusb20_dev_get_config_index
818
This function returns the currently select config index for the given
818
returns the currently select config index for the given
819
USB device.
819
USB device.
820
.
820
.
821
.Pp
821
.Pp
Lines 832-838 Link Here
832
.Pp
832
.Pp
833
.
833
.
834
.Fn libusb20_dev_wait_process
834
.Fn libusb20_dev_wait_process
835
function will wait until a pending USB transfer has completed on
835
will wait until a pending USB transfer has completed on
836
the given USB device.
836
the given USB device.
837
.
837
.
838
A timeout value can be specified which is passed on to the
838
A timeout value can be specified which is passed on to the
Lines 866-872 Link Here
866
.Pp
866
.Pp
867
.
867
.
868
.Fn libusb20_be_get_dev_quirk
868
.Fn libusb20_be_get_dev_quirk
869
This function will return the device quirk according to
869
will return the device quirk according to
870
.Fa index
870
.Fa index
871
into the libusb20_quirk structure pointed to by
871
into the libusb20_quirk structure pointed to by
872
.Fa pq .
872
.Fa pq .
Lines 948-954 Link Here
948
.Pp
948
.Pp
949
.
949
.
950
.Fn libusb20_be_enqueue_device
950
.Fn libusb20_be_enqueue_device
951
This function will enqueue the given USB device pointer in the backend USB device list.
951
will enqueue the given USB device pointer in the backend USB device list.
952
.
952
.
953
Enqueued USB devices will get freed when the backend is freed.
953
Enqueued USB devices will get freed when the backend is freed.
954
.
954
.
(-)./newlocale.3 (-2 / +2 lines)
Lines 51-57 Link Here
51
The
51
The
52
.Fa mask
52
.Fa mask
53
is either
53
is either
54
.Fa LC_ALL_MASK,
54
.Fa LC_ALL_MASK ,
55
indicating all possible locale components,
55
indicating all possible locale components,
56
or the logical OR of some combination of the following:
56
or the logical OR of some combination of the following:
57
.Bl -tag -width "LC_MESSAGES_MASK" -offset indent
57
.Bl -tag -width "LC_MESSAGES_MASK" -offset indent
Lines 59-65 Link Here
59
The locale for string collation routines.
59
The locale for string collation routines.
60
This controls alphabetic ordering in
60
This controls alphabetic ordering in
61
.Xr strcoll 3
61
.Xr strcoll 3
62
 and
62
and
63
.Xr strxfrm 3 .
63
.Xr strxfrm 3 .
64
.It LC_CTYPE_MASK
64
.It LC_CTYPE_MASK
65
The locale for the
65
The locale for the
(-)./pthread.3 (-1 / +1 lines)
Lines 452-458 Link Here
452
.Fa "void \*[lp]*child\*[rp]\*[lp]void\*[rp]"
452
.Fa "void \*[lp]*child\*[rp]\*[lp]void\*[rp]"
453
.Fc
453
.Fc
454
.Xc
454
.Xc
455
Register fork handlers
455
Register fork handlers.
456
.It Xo
456
.It Xo
457
.Ft void
457
.Ft void
458
.Fn pthread_cleanup_pop "int execute"
458
.Fn pthread_cleanup_pop "int execute"
(-)./pthread_condattr.3 (-1 / +1 lines)
Lines 35-41 Link Here
35
.Nm pthread_condattr_getclock ,
35
.Nm pthread_condattr_getclock ,
36
.Nm pthread_condattr_setclock ,
36
.Nm pthread_condattr_setclock ,
37
.Nm pthread_condattr_getpshared ,
37
.Nm pthread_condattr_getpshared ,
38
.Nm pthread_condattr_setpshared ,
38
.Nm pthread_condattr_setpshared
39
.Nd condition attribute operations
39
.Nd condition attribute operations
40
.Sh LIBRARY
40
.Sh LIBRARY
41
.Lb libpthread
41
.Lb libpthread
(-)./publickey.3 (-2 / +2 lines)
Lines 35-48 Link Here
35
which is used to decrypt the encrypted secret key stored in the database.
35
which is used to decrypt the encrypted secret key stored in the database.
36
Both routines return 1 if they are successful in finding the key, 0 otherwise.
36
Both routines return 1 if they are successful in finding the key, 0 otherwise.
37
The keys are returned as
37
The keys are returned as
38
.Dv NULL Ns \-terminated ,
38
.Dv NUL Ns \-terminated ,
39
hexadecimal strings.
39
hexadecimal strings.
40
If the password supplied to
40
If the password supplied to
41
.Fn getsecretkey
41
.Fn getsecretkey
42
fails to decrypt the secret key, the routine will return 1 but the
42
fails to decrypt the secret key, the routine will return 1 but the
43
.Fa secretkey
43
.Fa secretkey
44
argument will be a
44
argument will be a
45
.Dv NULL
45
.Dv NUL
46
string
46
string
47
.Pq Dq .
47
.Pq Dq .
48
.Sh SEE ALSO
48
.Sh SEE ALSO
(-)./querylocale.3 (-2 / +2 lines)
Lines 32-38 Link Here
32
.Os
32
.Os
33
.Sh NAME
33
.Sh NAME
34
.Nm querylocale
34
.Nm querylocale
35
.Nd Look up the locale name for a specified category.
35
.Nd Look up the locale name for a specified category
36
.Sh LIBRARY
36
.Sh LIBRARY
37
.Lb libc
37
.Lb libc
38
.Sh SYNOPSIS
38
.Sh SYNOPSIS
Lines 41-47 Link Here
41
.Fn querylocale "int mask" "locale_t locale"
41
.Fn querylocale "int mask" "locale_t locale"
42
.Sh DESCRIPTION
42
.Sh DESCRIPTION
43
Returns the name of the locale for the category specified by
43
Returns the name of the locale for the category specified by
44
.Fa mask.
44
.Fa mask .
45
This possible values for the mask are the same as those in
45
This possible values for the mask are the same as those in
46
.Xr newlocale 3 .
46
.Xr newlocale 3 .
47
If more than one bit in the mask is set, the returned value is undefined.
47
If more than one bit in the mask is set, the returned value is undefined.
(-)./sctp_connectx.3 (-1 / +1 lines)
Lines 36-42 Link Here
36
.Os
36
.Os
37
.Sh NAME
37
.Sh NAME
38
.Nm sctp_connectx
38
.Nm sctp_connectx
39
.Nd connect an SCTP socket with multiple destination addresses.
39
.Nd connect an SCTP socket with multiple destination addresses
40
.Sh LIBRARY
40
.Sh LIBRARY
41
.Lb libc
41
.Lb libc
42
.Sh SYNOPSIS
42
.Sh SYNOPSIS
(-)./sctp_recvmsg.3 (-1 / +1 lines)
Lines 66-72 Link Here
66
.Fn sctp_recvmsg
66
.Fn sctp_recvmsg
67
after having implicitly started an association via one
67
after having implicitly started an association via one
68
of the send calls including
68
of the send calls including
69
.Fn sctp_sendmsg
69
.Fn sctp_sendmsg ,
70
.Fn sendto
70
.Fn sendto
71
and
71
and
72
.Fn sendmsg .
72
.Fn sendmsg .
(-)./snmp_netgraph.3 (-2 / +3 lines)
Lines 305-311 Link Here
305
.Li NG_NODESIZ
305
.Li NG_NODESIZ
306
bytes long.
306
bytes long.
307
The function returns the node id or 0 if the
307
The function returns the node id or 0 if the
308
node is not found
308
node is not found.
309
.Pp
309
.Pp
310
The function
310
The function
311
.Fn ng_node_type
311
.Fn ng_node_type
Lines 396-402 Link Here
396
.Fa peer .
396
.Fa peer .
397
The functions return 0 on success or -1 otherwise.
397
The functions return 0 on success or -1 otherwise.
398
The function
398
The function
399
.Fn ng_connect2_tee_id does the same as
399
.Fn ng_connect2_tee_id
400
does the same as
400
.Fn ng_connect2_id
401
.Fn ng_connect2_id
401
except, that it puts an unnamed tee node between the two nodes.
402
except, that it puts an unnamed tee node between the two nodes.
402
.Pp
403
.Pp
(-)./snmp_usm.3 (-2 / +2 lines)
Lines 57-63 Link Here
57
altering the SNMP USM users.
57
altering the SNMP USM users.
58
.It Va usmUserTable
58
.It Va usmUserTable
59
The table contains all SNMP USM users configured in
59
The table contains all SNMP USM users configured in
60
.Nm bsnmpd.
60
.Nm bsnmpd .
61
The table contains the following objects
61
The table contains the following objects
62
.Bl -tag -width ".It Va usmUserEngineID"
62
.Bl -tag -width ".It Va usmUserEngineID"
63
.It Va usmUserEngineID
63
.It Va usmUserEngineID
Lines 102-108 Link Here
102
These columns may be used to change the user's privacy key.
102
These columns may be used to change the user's privacy key.
103
.It Va usmUserPublic
103
.It Va usmUserPublic
104
An arbitrary octet string that may be modified to confirm a SET operation on any
104
An arbitrary octet string that may be modified to confirm a SET operation on any
105
of the columns was successfull.
105
of the columns was successful.
106
.It Va usmUserStorageType
106
.It Va usmUserStorageType
107
This column always has either of two values. Entries created via
107
This column always has either of two values. Entries created via
108
.Nm bsnmpd's
108
.Nm bsnmpd's
(-)./snmp_vacm.3 (-1 / +1 lines)
Lines 76-82 Link Here
76
.It Va vacmViewTreeFamilyTable
76
.It Va vacmViewTreeFamilyTable
77
The table contains a list of SNMP views, i.e. entries specifying the OID of a
77
The table contains a list of SNMP views, i.e. entries specifying the OID of a
78
MIB subtree and whether access to the objects under this subtree is to be
78
MIB subtree and whether access to the objects under this subtree is to be
79
allowed or forbiden.
79
allowed or forbidden.
80
.El
80
.El
81
.Sh FILES
81
.Sh FILES
82
.Bl -tag -width "XXXXXXXXX"
82
.Bl -tag -width "XXXXXXXXX"
(-)./snmp_wlan.3 (-2 / +2 lines)
Lines 61-68 Link Here
61
.Va wlanParentIfName
61
.Va wlanParentIfName
62
column. Any optional parameters may be set
62
column. Any optional parameters may be set
63
via the
63
via the
64
.Va wlanIfaceOperatingMode,
64
.Va wlanIfaceOperatingMode ,
65
.Va wlanIfaceFlags,
65
.Va wlanIfaceFlags ,
66
.Va wlanIfaceBssid
66
.Va wlanIfaceBssid
67
and
67
and
68
.Va wlanIfaceLocalAddress
68
.Va wlanIfaceLocalAddress
(-)./sourcefilter.3 (-2 / +2 lines)
Lines 158-164 Link Here
158
.Fn getsourcefilter
158
.Fn getsourcefilter
159
and
159
and
160
.Fn setsourcefilter ,
160
.Fn setsourcefilter ,
161
the argument
161
the
162
.Fa grouplen
162
.Fa grouplen
163
argument specifies the size of the structure pointed to by
163
argument specifies the size of the structure pointed to by
164
.Fa group .
164
.Fa group .
Lines 220-226 Link Here
220
.Sh SEE ALSO
220
.Sh SEE ALSO
221
.Xr ip 4 ,
221
.Xr ip 4 ,
222
.Xr ip6 4 ,
222
.Xr ip6 4 ,
223
.Xr multicast 4,
223
.Xr multicast 4 ,
224
.Xr ifmcstat 8
224
.Xr ifmcstat 8
225
.Rs
225
.Rs
226
.%A D. Thaler
226
.%A D. Thaler
(-)./strfmon.3 (-2 / +2 lines)
Lines 115-128 Link Here
115
.El
115
.El
116
.Sh RETURN VALUES
116
.Sh RETURN VALUES
117
If the total number of resulting bytes including the terminating
117
If the total number of resulting bytes including the terminating
118
.Dv NULL
118
.Dv NUL
119
byte is not more than
119
byte is not more than
120
.Fa maxsize ,
120
.Fa maxsize ,
121
.Fn strfmon
121
.Fn strfmon
122
returns the number of bytes placed into the array pointed to by
122
returns the number of bytes placed into the array pointed to by
123
.Fa s ,
123
.Fa s ,
124
not including the terminating
124
not including the terminating
125
.Dv NULL
125
.Dv NUL
126
byte.
126
byte.
127
Otherwise, \-1 is returned,
127
Otherwise, \-1 is returned,
128
the contents of the array are indeterminate,
128
the contents of the array are indeterminate,
(-)./strlcpy.3 (-1 / +1 lines)
Lines 169-175 Link Here
169
.Ed
169
.Ed
170
.Pp
170
.Pp
171
Since it is known how many characters were copied the first time, things
171
Since it is known how many characters were copied the first time, things
172
can be sped up a bit by using a copy instead of an append
172
can be sped up a bit by using a copy instead of an append.
173
.Bd -literal -offset indent
173
.Bd -literal -offset indent
174
char *dir, *file, pname[MAXPATHLEN];
174
char *dir, *file, pname[MAXPATHLEN];
175
size_t n;
175
size_t n;
(-)./uselocale.3 (-1 / +1 lines)
Lines 32-38 Link Here
32
.Os
32
.Os
33
.Sh NAME
33
.Sh NAME
34
.Nm uselocale
34
.Nm uselocale
35
.Nd Sets a thread-local locale.
35
.Nd Sets a thread-local locale
36
.Sh LIBRARY
36
.Sh LIBRARY
37
.Lb libc
37
.Lb libc
38
.Sh SYNOPSIS
38
.Sh SYNOPSIS
(-)./xlocale.3 (-1 / +1 lines)
Lines 32-38 Link Here
32
.Os
32
.Os
33
.Sh NAME
33
.Sh NAME
34
.Nm xlocale
34
.Nm xlocale
35
.Nd Thread-safe extended locale support.
35
.Nd Thread-safe extended locale support
36
.Sh LIBRARY
36
.Sh LIBRARY
37
.Lb libc
37
.Lb libc
38
.Sh SYNOPSIS
38
.Sh SYNOPSIS

Return to bug 167734