bitstring.3 (24887) | bitstring.3 (48210) |
---|---|
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.\" $Id: bitstring.3,v 1.3 1997/03/07 03:27:52 jmg Exp $ | 35.\" $Id: bitstring.3,v 1.4 1997/04/13 14:19:58 bde Exp $ |
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 , --- 65 unchanged lines hidden (view full) --- 109.Pp 110The 111.Fn bit_nset 112and 113.Fn bit_nclear 114macros 115set or clear the zero-based numbered bits from 116.Fa start | 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 , --- 65 unchanged lines hidden (view full) --- 109.Pp 110The 111.Fn bit_nset 112and 113.Fn bit_nclear 114macros 115set or clear the zero-based numbered bits from 116.Fa start |
117to | 117through |
118.Fa stop 119in the bit string 120.Ar name . 121.Pp 122The 123.Fn bit_test 124macro 125evaluates to non-zero if the zero-based numbered bit --- 65 unchanged lines hidden --- | 118.Fa stop 119in the bit string 120.Ar name . 121.Pp 122The 123.Fn bit_test 124macro 125evaluates to non-zero if the zero-based numbered bit --- 65 unchanged lines hidden --- |