ffs man page on OPENSTEP

Man page or keyword search:  
man Server   1419 pages
apropos Keyword Search (all sections)
Output format
OPENSTEP logo
[printable version]


BSTRING(3)							    BSTRING(3)

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

SYNOPSIS
       bcopy(src, dst, length)
       char *src, *dst;
       int length;

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

       bzero(b, length)
       char *b;
       int length;

       ffs(i)
       int i;

DESCRIPTION
       The functions bcopy, bcmp, and bzero operate on variable length strings
       of bytes.  They do  not	check  for  null  bytes	 as  the  routines  in
       string(3) do.

       Bcopy copies length bytes from string src to the string dst.

       Bcmp  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.

       Bzero places length 0 bytes in the string b1.

       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.

BUGS
       The bcopy routine take parameters backwards from strcpy.

4.2 Berkeley Distribution	 May 15, 1985			    BSTRING(3)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server OPENSTEP

List of man pages available for OPENSTEP

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net