Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ffs(3C) — svr4 — mips UMIPS RISC/os 5.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought



FFS(3C-SVR4)        RISC/os Reference Manual         FFS(3C-SVR4)



NAME
     ffs - find first set bit

SYNOPSIS
     #include <string.h>

     int ffs(const int i);

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










































                        Printed 11/19/92                   Page 1



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