Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ffs(3B) — GL2 W3.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

FFS(3B)  —  Silicon Graphics

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 −1. 

Version 3.6  —  December 20, 1987

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