Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* int ffs(long) OSF/1 v2.0
@ 1994-07-18 19:49 Michael J. McInerny
  0 siblings, 0 replies; only message in thread
From: Michael J. McInerny @ 1994-07-18 19:49 UTC (permalink / raw)


[please feel free to correct me on my choice of newsgroup...]

Can someone give me the skinny on the ffs() function?  

It's documented on the bzero()/bcopy() man page as taking an int,
which is 32-bits on DEC OSF/1 v2.0 alpha-AXP.  However, there is a
``int ffs(long)'' declaration in string.h.  Which is it, int or long?
Is there any way to tell how a function is declared in libc.a?

Furthermore, given that most systems (include DEC OSF/1 v1.x!) don't
have a declaration for ffs(), what should I do to make my code
portable with respect to declaring ffs()?

Is there a standard/portable replacement for ffs()?

-Michael McInerny,
 CLARITECH Corp.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1994-07-18 19:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-07-18 19:49 int ffs(long) OSF/1 v2.0 Michael J. McInerny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox