This is the mail archive of the
mailing list for the GCC project.
- From: Mike Stump <mrs at apple dot com>
- To: Micah Nathan Moore <moore_mn at cobra dot cs dot mercer dot edu>
- Cc: gcc at gnu dot org
- Date: Mon, 5 Aug 2002 12:30:43 -0700
- Subject: Re: FFS_EXPR
On Sunday, August 4, 2002, at 02:02 PM, Micah Nathan Moore wrote:
I don't see what relevance FFS has to anything you need to do or
learn... There are many things in gcc that you will not have to
learn, this is just one of those things. But if you really want to
know, do man fss on a real system:
I am trying to learn the tree interface to gcc and I have
come across FFS_EXPR. I have not been able to figure out
what type of expression this is. I realize that I will
probably look/feel/be an idiot for not seeing what FFS
means, but I have to ask.
FS(3) System Library Functions Manual
ffs - find first bit set in a bit string
Standard C Library (libc, -lc)
The ffs() function finds the first bit set in value and returns
of that bit. Bits are numbered starting from 1, starting at the
most bit. A return value of 0 means that the argument was zero.
The ffs() function appeared in 4.3BSD.
BSD April 19, 1994