osf1 man page for ffs

Query: ffs

OS: osf1

Section: 3

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

ffs(3)							     Library Functions Manual							    ffs(3)

NAME
ffs - Finds first set bit
LIBRARY
Standard C Library (libc.so, libc.a)
SYNOPSIS
#include <strings.h> int ffs( int pattern);
STANDARDS
Interfaces documented on this reference page conform to industry standards as follows: ffs(): XPG4-UNIX Refer to the standards(5) reference page for more information about industry standards and associated tags.
PARAMETERS
Specifies the bit pattern searched.
DESCRIPTION
The ffs() function finds the first bit set (beginning with the least significant bit) and returns the index of that bit. Bits are numbered starting at 1 (the least significant bit). If pattern is 0 (zero), ffs() returns 0.
RELATED INFORMATION
Standards: standards(5) delim off ffs(3)
Related Man Pages
ffs(3p) - centos
ffsl(3) - linux
ffsl(3) - centos
ffsll(3) - centos
ffs(3p) - suse
Similar Topics in the Unix Linux Community
Script to Extract the line from File with specified offset
increment a value at an offset in hundreds very large hex file
Get Compressed byte offset from .gz file
Problem running zip from cron - bad zipfile offset
Selection of records y time and offset.