How do I get a list of UNIX C functions?

Mark Harrison harrison at necssd.NEC.COM
Fri Dec 28 03:25:58 AEST 1990


In article <1990Dec26.055716.11975 at news.cs.indiana.edu>,
anlhille at rose.ucs.indiana.edu (Joseph Hillenburg) writes:

> I know I can type 'man <function>' but how do I get just the huge list of
> C functions?

Here is one way.  It relies on the fact that the man pages have a NAME
section that looks like:

.SH NAME
function \- description

cat /usr/man/man3/* |awk '
/^\.SH.*NAME/   { p = 1; next }
p == 1          { print; p = 0 }
'
-- 
Mark Harrison             harrison at necssd.NEC.COM
(214)518-5050             {necntc, cs.utexas.edu}!necssd!harrison
standard disclaimers apply...



More information about the Comp.unix.misc mailing list