Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ffs(3B) — GL2 W2.5r1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

FFS(3B)  —  Silicon Graphics May 15, 1985

NAME

ffs − bit string operation

SYNOPSIS

ffs(i)
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.  A return value of 0 indicates the value passed is zero. 

Version 2.5r1  —  October 29, 1986

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