Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ffs(3C) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

ffs(3C)                                                             ffs(3C)

NAME
     ffs - find first set bit

SYNOPSIS
     #include <strings.h>

     int ffs(int i);

DESCRIPTION
     ffs() finds first bit set in the argument passed and returns the index
     of that bit. Bits are numbered starting at 1 from the low order bit. A
     return value of zero indicates that the value passed is zero.











































Page 1                       Reliant UNIX 5.44                Printed 11/98

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026