Deleted Added
full compact
bitstring.3 (50476) bitstring.3 (68854)
1.\" Copyright (c) 1989, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" Paul Vixie.
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:

--- 18 unchanged lines hidden (view full) ---

27.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32.\" SUCH DAMAGE.
33.\"
34.\" @(#)bitstring.3 8.1 (Berkeley) 7/19/93
1.\" Copyright (c) 1989, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" Paul Vixie.
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:

--- 18 unchanged lines hidden (view full) ---

27.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32.\" SUCH DAMAGE.
33.\"
34.\" @(#)bitstring.3 8.1 (Berkeley) 7/19/93
35.\" $FreeBSD: head/share/man/man3/bitstring.3 50476 1999-08-28 00:22:10Z peter $
35.\" $FreeBSD: head/share/man/man3/bitstring.3 68854 2000-11-17 11:44:16Z ru $
36.\"
37.Dd July 19, 1993
38.Dt BITSTRING 3
39.Os BSD 4
40.Sh NAME
41.Nm bit_alloc ,
42.Nm bit_clear ,
43.Nm bit_decl ,

--- 106 unchanged lines hidden (view full) ---

150bits referenced by
151.Fa name .
152If all bits are set, the location referenced by
153.Fa value
154is set to \-1.
155.Pp
156The arguments to these macros are evaluated only once and may safely
157have side effects.
36.\"
37.Dd July 19, 1993
38.Dt BITSTRING 3
39.Os BSD 4
40.Sh NAME
41.Nm bit_alloc ,
42.Nm bit_clear ,
43.Nm bit_decl ,

--- 106 unchanged lines hidden (view full) ---

150bits referenced by
151.Fa name .
152If all bits are set, the location referenced by
153.Fa value
154is set to \-1.
155.Pp
156The arguments to these macros are evaluated only once and may safely
157have side effects.
158.Sh EXAMPLE
158.Sh EXAMPLES
159.Bd -literal -offset indent
160#include <limits.h>
161#include <bitstring.h>
162
163...
164#define LPR_BUSY_BIT 0
165#define LPR_FORMAT_BIT 1
166#define LPR_DOWNLOAD_BIT 2

--- 24 unchanged lines hidden ---
159.Bd -literal -offset indent
160#include <limits.h>
161#include <bitstring.h>
162
163...
164#define LPR_BUSY_BIT 0
165#define LPR_FORMAT_BIT 1
166#define LPR_DOWNLOAD_BIT 2

--- 24 unchanged lines hidden ---