ultrix man page for ffs

Query: ffs

OS: ultrix

Section: 3

Links: ultrix man pages | All man pages

Forums: Unix Linux Community | Forum Categories

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

bstring(3)						     Library Functions Manual							bstring(3)

Name
       bcopy, bcmp, bzero, ffs - bit and byte string operations

Syntax
       void bcopy(b1, b2, length)
       char *b1, *b2;
       int length;

       bcmp(b1, b2, length)
       char *b1, *b2;
       int length;

       void bzero(b1, length)
       char *b1;
       int length;

       ffs(i)
       int i;

Description
       The functions and operate on variable length strings of bytes.  They do not check for null bytes as the routines in do.

       The function copies length bytes from string b1 to the string b2.

       The  function  compares	byte string b1 against byte string b2, returning zero if they are identical, non-zero otherwise.  Both strings are
       assumed to be length bytes long.

       The function places length 0 bytes in the string b1.

       The ffs finds the first bit set in the argument passed it and returns the index of that bit.  Bits are numbered starting at  1.	 A  return
       value of 0 indicates the value passed is zero.

Restrictions
       The and routines take parameters backwards from and

See Also
																	bstring(3)
Related Man Pages
bcopy(3c) - opensolaris
bstring(3c) - opensolaris
bcmp(3) - osf1
bcopy(3) - osf1
bstring(3) - freebsd
Similar Topics in the Unix Linux Community
increment a value at an offset in hundreds very large hex file
Offsite Backup Solution
Relative column offsets
NTP high offset | no servers can be used, exiting
Selection of records y time and offset.