more and better declarations in c.llb

This commit is contained in:
dick 1989-02-10 16:46:01 +00:00
parent 5a4933ff7f
commit 429d527a64
5 changed files with 92 additions and 47 deletions

View file

@ -1,3 +1,8 @@
10-Feb-89 Dick Grune (dick) at dick
Adapted to change in names: libraries now end in .llb.
Added many names from libcc/math.
Tried a better declaration for ioctl().
12-Oct-88 Dick Grune (dick) at dick 12-Oct-88 Dick Grune (dick) at dick
Formats added. Formats added.

View file

@ -3,29 +3,33 @@
# #
# $Header$ # $Header$
EM = /usr/em EMHOME = /usr/em
LINT = /usr/dick/lint/lint LINT = /usr/dick/lint/lpass2/lint
ALLDIR = $(EM)/lang/cem/libcc# # to create llib-lc
CURSESDIR = /usr/src/lib/libcurses# # for a local -lcurses CURSESDIR = /usr/src/lib/libcurses# # for a local -lcurses
MATHDIR = /usr/src/lib/libm# # for a local -lm MATHDIR = /usr/src/lib/libm# # for a local -lm
TERMLIBDIR = /usr/src/lib/libtermlib# # for a local -ltermlib TERMLIBDIR = /usr/src/lib/libtermlib# # for a local -ltermlib
llib-lc: unix7.c ALLDIR = $(EMHOME)/lang/cem/libcc# # to create c.llb
$(LINT) -Lllib-lc unix7.c INCLUDE = $(EMHOME)/include/_tail_cc
ALLFLAGS = -D__BSD4_2 -I$(INCLUDE) # to compile $(ALLDIR)
llib-lcurses: c.llb: unix7.c
$(LINT) -Lllib-lcurses $(CURSESDIR)/*.c $(LINT) -Lc.llb unix7.c
curses.llb:
$(LINT) -Lcurses.llb $(CURSESDIR)/*.c
llib-lm: m.llb:
$(LINT) -Lllib-lm $(MATHDIR)/*.c $(LINT) -Lm.llb $(MATHDIR)/*.c
llibl-termlib: termlib.llb:
$(LINT) -Lllibl-termlib $(TERMLIBDIR)/*.c $(LINT) -Ltermlib.llb $(TERMLIBDIR)/*.c
llib-lcnew: cnew.llb:
cp /dev/null llib-lc cp /dev/null cnew.llb
$(LINT) -Lllibl-lc $(ALLDIR)/*/*.c $(LINT) -Lcnew.llb $(ALLFLAGS) $(ALLDIR)/*/*.c
$(LINT) -Lcnew.llb unix7.c

View file

@ -4,19 +4,19 @@
# $Header$ # $Header$
This directory contains the standard lint libraries. Normally, nothing This directory contains the standard lint libraries. Normally, nothing
needs to be done here. The standard library llib-lc contains all entries needs to be done here. The standard library c.llb contains all entries
from termlib, curses and math as well, which provides the user with from termlib, curses and math as well, which provides the user with
advance warnings if he inadvertently uses a global name that is also advance warnings if he inadvertently uses a global name that is also
used by one of these libraries. used by one of these libraries.
A file with a UNIX 7 view of the system calls is provided, named unix7.c. A file with a UNIX 7 view of the system calls is provided, named unix7.c.
If need be it can be updated and merged into llib-lc by calling If need be it can be updated and merged into c.llb by calling
make llib-lc (or just make) make c.llb (or just make)
If one of the other entries is a shade off, it is unsually easier to edit If one of the other entries is a shade off, it is unsually easier to edit
llib-lc by hand. c.llb by hand.
Empty files for llib-ltermlib, llib-lcurses and llib-lm are provided Empty files for termlib.llb, curses.llb and m.llb are provided
for compatibility. for compatibility.

View file

@ -7,27 +7,31 @@ __timezone:0:b:long:28:/usr/em/lang/cem/libcc/gen/tzset.c
__tzname:0:b:char**:30:/usr/em/lang/cem/libcc/gen/tzset.c __tzname:0:b:char**:30:/usr/em/lang/cem/libcc/gen/tzset.c
_c2type:0:b:char*:12:/usr/em/lang/cem/libcc/gen/_c2type.c _c2type:0:b:char*:12:/usr/em/lang/cem/libcc/gen/_c2type.c
_cleanup:0:a:0:0:int:65:/usr/em/lang/cem/libcc/stdio/flushbuf.c _cleanup:0:a:0:0:int:65:/usr/em/lang/cem/libcc/stdio/flushbuf.c
_doprnt:0:a:3:char*:char*:struct _iobuf*:0:int:65:/usr/em/lang/cem/libcc/stdio/doprnt.c _doprnt:0:a:3:char*:char*:struct _iobuf*:0:int:66:/usr/em/lang/cem/libcc/stdio/doprnt.c
_doscanf:0:a:3:struct _iobuf*:char*:char*:1:int:23:/usr/em/lang/cem/libcc/stdio/doscan.c _doscanf:0:a:3:struct _iobuf*:char*:char*:1:int:23:/usr/em/lang/cem/libcc/stdio/doscan.c
_exit:0:a:1:int:0:int:42:unix7.c _exit:0:a:1:int:0:int:42:unix7.c
_fillbuf:0:a:1:struct _iobuf*:1:int:6:/usr/em/lang/cem/libcc/stdio/fillbuf.c _fillbuf:0:a:1:struct _iobuf*:1:int:6:/usr/em/lang/cem/libcc/stdio/fillbuf.c
_flsbuf:0:a:2:unsigned int:struct _iobuf*:1:int:107:unix7.c _flsbuf:0:a:2:unsigned int:struct _iobuf*:1:int:107:unix7.c
_flushbuf:0:a:2:int:struct _iobuf*:1:int:5:/usr/em/lang/cem/libcc/stdio/flushbuf.c _flushbuf:0:a:2:int:struct _iobuf*:1:int:5:/usr/em/lang/cem/libcc/stdio/flushbuf.c
_io_table:0:b:struct _io_buf**:19:/usr/em/lang/cem/libcc/stdio/data.c _io_table:0:b:struct _iobuf**:19:/usr/em/lang/cem/libcc/stdio/data.c
_pfloat:0:a:4:double:char*:int:int:1:char*:7:/usr/em/lang/cem/libcc/stdio/fltpr.c _pfloat:0:a:4:double:char*:int:int:1:char*:7:/usr/em/lang/cem/libcc/stdio/fltpr.c
_pscien:0:a:4:double:char*:int:int:1:char*:38:/usr/em/lang/cem/libcc/stdio/fltpr.c _pscien:0:a:4:double:char*:int:int:1:char*:38:/usr/em/lang/cem/libcc/stdio/fltpr.c
_sibuf:0:b:unsigned char*:5:/usr/em/lang/cem/libcc/stdio/data.c _sibuf:0:b:unsigned char*:5:/usr/em/lang/cem/libcc/stdio/data.c
_sobuf:0:b:unsigned char*:4:/usr/em/lang/cem/libcc/stdio/data.c _sobuf:0:b:unsigned char*:4:/usr/em/lang/cem/libcc/stdio/data.c
_stderr:0:b:struct _io_buf:15:/usr/em/lang/cem/libcc/stdio/data.c _stderr:0:b:struct _iobuf:15:/usr/em/lang/cem/libcc/stdio/data.c
_stdin:0:b:struct _io_buf:7:/usr/em/lang/cem/libcc/stdio/data.c _stdin:0:b:struct _iobuf:7:/usr/em/lang/cem/libcc/stdio/data.c
_stdout:0:b:struct _io_buf:11:/usr/em/lang/cem/libcc/stdio/data.c _stdout:0:b:struct _iobuf:11:/usr/em/lang/cem/libcc/stdio/data.c
abort:0:a:0:2:int:79:unix7.c abort:0:a:0:2:int:79:unix7.c
abs:0:a:1:int:1:int:8:/usr/em/lang/cem/libcc/gen/abs.c abs:0:a:1:int:1:int:8:/usr/em/lang/cem/libcc/gen/abs.c
access:0:a:2:char*:int:1:int:23:unix7.c access:0:a:2:char*:int:1:int:23:unix7.c
acct:0:a:1:char*:1:int:24:unix7.c acct:0:a:1:char*:1:int:24:unix7.c
acos:0:a:1:double:1:double:49:/usr/em/lang/cem/libcc/math/asin.c
alarm:0:a:1:unsigned int:1:int:25:unix7.c alarm:0:a:1:unsigned int:1:int:25:unix7.c
asctime:0:a:1:struct tm*:1:char*:19:/usr/em/lang/cem/libcc/gen/asctime.c asctime:0:a:1:struct tm*:1:char*:19:/usr/em/lang/cem/libcc/gen/asctime.c
atof:0:a:1:char*:1:double:8:/usr/em/lang/cem/libcc/gen/atof.c asin:0:a:1:double:1:double:42:/usr/em/lang/cem/libcc/math/asin.c
atan2:0:a:2:double:double:1:double:16:/usr/em/lang/cem/libcc/math/atan2.c
atan:0:a:1:double:1:double:14:/usr/em/lang/cem/libcc/math/atan.c
atof:0:a:1:char*:1:double:7:/usr/em/lang/cem/libcc/gen/atof.c
atoi:0:a:1:char*:1:int:2:/usr/em/lang/cem/libcc/gen/atoi.c atoi:0:a:1:char*:1:int:2:/usr/em/lang/cem/libcc/gen/atoi.c
atol:0:a:1:char*:1:long:2:/usr/em/lang/cem/libcc/gen/atol.c atol:0:a:1:char*:1:long:2:/usr/em/lang/cem/libcc/gen/atol.c
bcmp:0:a:3:char*:char*:int:1:int:3:/usr/em/lang/cem/libcc/gen/bcmp.c bcmp:0:a:3:char*:char*:int:1:int:3:/usr/em/lang/cem/libcc/gen/bcmp.c
@ -35,17 +39,24 @@ bcopy:0:a:3:char*:char*:int:0:int:2:/usr/em/lang/cem/libcc/gen/bcopy.c
bfill:0:a:3:char*:int:int:0:int:2:/usr/em/lang/cem/libcc/gen/bfill.c bfill:0:a:3:char*:int:int:0:int:2:/usr/em/lang/cem/libcc/gen/bfill.c
bmove:0:a:3:char*:char*:int:0:int:2:/usr/em/lang/cem/libcc/gen/bmove.c bmove:0:a:3:char*:char*:int:0:int:2:/usr/em/lang/cem/libcc/gen/bmove.c
brk:0:a:1:char*:1:char*:26:unix7.c brk:0:a:1:char*:1:char*:26:unix7.c
bsearch:0:a:5:char*:char*:unsigned int:unsigned int:int()*:1:char*:21:/usr/em/lang/cem/libcc/gen/bsearch.c
bzero:0:a:2:char*:int:0:int:2:/usr/em/lang/cem/libcc/gen/bzero.c bzero:0:a:2:char*:int:0:int:2:/usr/em/lang/cem/libcc/gen/bzero.c
cabs:0:a:1:struct complex:1:double:35:/usr/em/lang/cem/libcc/math/hypot.c
calloc:0:a:2:unsigned int:unsigned int:1:char*:4:/usr/em/lang/cem/libcc/gen/calloc.c calloc:0:a:2:unsigned int:unsigned int:1:char*:4:/usr/em/lang/cem/libcc/gen/calloc.c
ceil:0:a:1:double:1:double:11:/usr/em/lang/cem/libcc/math/ceil.c
chdir:0:a:1:char*:1:int:28:unix7.c chdir:0:a:1:char*:1:int:28:unix7.c
chmod:0:a:2:char*:int:1:int:30:unix7.c chmod:0:a:2:char*:int:1:int:30:unix7.c
chown:0:a:3:char*:int:int:1:int:31:unix7.c chown:0:a:3:char*:int:int:1:int:31:unix7.c
chroot:0:a:1:char*:1:int:29:unix7.c chroot:0:a:1:char*:1:int:29:unix7.c
clearerr:0:a:1:struct _iobuf*:0:int:10:/usr/em/lang/cem/libcc/stdio/clearerr.c
close:0:a:1:int:1:int:32:unix7.c close:0:a:1:int:1:int:32:unix7.c
closedir:0:a:1:struct _dirdesc*:0:void:8:/usr/em/lang/cem/libcc/gen/closedir.c closedir:0:a:1:struct _dirdesc*:0:int:8:/usr/em/lang/cem/libcc/gen/closedir.c
cos:0:a:1:double:1:double:110:/usr/em/lang/cem/libcc/math/sin.c
cosh:0:a:1:double:1:double:16:/usr/em/lang/cem/libcc/math/cosh.c
creat:0:a:2:char*:int:1:int:33:unix7.c creat:0:a:2:char*:int:1:int:33:unix7.c
crypt:0:a:2:char*:char*:1:char*:222:/usr/em/lang/cem/libcc/gen/crypt.c crypt:0:a:2:char*:char*:1:char*:222:/usr/em/lang/cem/libcc/gen/crypt.c
ctime:0:a:1:long*:1:char*:12:/usr/em/lang/cem/libcc/gen/ctime.c ctime:0:a:1:long*:1:char*:12:/usr/em/lang/cem/libcc/gen/ctime.c
dotest:0:a:4:char*:double:double:double:0:int:21:/usr/em/lang/cem/libcc/math/test.c
dup2:0:a:2:int:int:1:int:35:unix7.c dup2:0:a:2:int:int:1:int:35:unix7.c
dup:0:a:1:int:1:int:34:unix7.c dup:0:a:1:int:1:int:34:unix7.c
dysize:0:a:1:int:1:int:24:/usr/em/lang/cem/libcc/gen/localtime.c dysize:0:a:1:int:1:int:24:/usr/em/lang/cem/libcc/gen/localtime.c
@ -62,6 +73,8 @@ execv:0:a:2:char*:char**:0:int:38:unix7.c
execve:0:a:3:char*:char**:char**:0:int:41:unix7.c execve:0:a:3:char*:char**:char**:0:int:41:unix7.c
execvp:0:a:2:char*:char**:1:int:11:/usr/em/lang/cem/libcc/gen/execvp.c execvp:0:a:2:char*:char**:1:int:11:/usr/em/lang/cem/libcc/gen/execvp.c
exit:0:a:1:int:0:int:8:/usr/em/lang/cem/libcc/mon/exit.c exit:0:a:1:int:0:int:8:/usr/em/lang/cem/libcc/mon/exit.c
exp:0:a:1:double:1:double:16:/usr/em/lang/cem/libcc/math/exp.c
fabs:0:a:1:double:1:double:11:/usr/em/lang/cem/libcc/math/fabs.c
fclose:0:a:1:struct _iobuf*:1:int:4:/usr/em/lang/cem/libcc/stdio/fclose.c fclose:0:a:1:struct _iobuf*:1:int:4:/usr/em/lang/cem/libcc/stdio/fclose.c
fcvt:0:a:4:double:int:int*:int*:1:char*:16:/usr/em/lang/cem/libcc/gen/ecvt.c fcvt:0:a:4:double:int:int*:int*:1:char*:16:/usr/em/lang/cem/libcc/gen/ecvt.c
fdopen:0:a:2:int:char*:1:struct _iobuf*:4:/usr/em/lang/cem/libcc/stdio/fdopen.c fdopen:0:a:2:int:char*:1:struct _iobuf*:4:/usr/em/lang/cem/libcc/stdio/fdopen.c
@ -70,12 +83,13 @@ fflush:0:a:1:struct _iobuf*:1:int:5:/usr/em/lang/cem/libcc/stdio/fflush.c
ffs:0:a:1:int:1:int:2:/usr/em/lang/cem/libcc/gen/ffs.c ffs:0:a:1:int:1:int:2:/usr/em/lang/cem/libcc/gen/ffs.c
fgetc:0:a:1:struct _iobuf*:1:int:4:/usr/em/lang/cem/libcc/stdio/fgetc.c fgetc:0:a:1:struct _iobuf*:1:int:4:/usr/em/lang/cem/libcc/stdio/fgetc.c
fgets:0:a:3:char*:unsigned int:struct _iobuf*:1:char*:4:/usr/em/lang/cem/libcc/stdio/fgets.c fgets:0:a:3:char*:unsigned int:struct _iobuf*:1:char*:4:/usr/em/lang/cem/libcc/stdio/fgets.c
floor:0:a:1:double:1:double:11:/usr/em/lang/cem/libcc/math/floor.c
fopen:0:a:2:char*:char*:1:struct _iobuf*:7:/usr/em/lang/cem/libcc/stdio/fopen.c fopen:0:a:2:char*:char*:1:struct _iobuf*:7:/usr/em/lang/cem/libcc/stdio/fopen.c
fork:0:a:0:1:int:43:unix7.c fork:0:a:0:1:int:43:unix7.c
fprintf:0:a:-3:struct _iobuf*:"%[dox]=int%l[dox]=long%[DOX]=long%u=unsigned int%lu=unsigned long%U=unsigned long%[feg]=double%c=int%s=char*":0:int:91:unix7.c fprintf:0:a:-3:struct _iobuf*:"%[dox]=int%l[dox]=long%[DOX]=long%u=unsigned int%lu=unsigned long%U=unsigned long%[feg]=double%c=int%s=char*":0:int:91:unix7.c
fputc:0:a:2:int:struct _iobuf*:1:int:4:/usr/em/lang/cem/libcc/stdio/fputc.c fputc:0:a:2:int:struct _iobuf*:1:int:4:/usr/em/lang/cem/libcc/stdio/fputc.c
fputs:0:a:2:char*:struct _iobuf*:0:int:4:/usr/em/lang/cem/libcc/stdio/fputs.c fputs:0:a:2:char*:struct _iobuf*:0:int:4:/usr/em/lang/cem/libcc/stdio/fputs.c
fread:0:a:4:char*:unsigned int:int:struct _iobuf*:1:int:4:/usr/em/lang/cem/libcc/stdio/fread.c fread:0:a:4:char*:unsigned int:unsigned int:struct _iobuf*:1:int:4:/usr/em/lang/cem/libcc/stdio/fread.c
free:0:a:1:char*:0:int:112:/usr/em/lang/cem/libcc/gen/malloc.c free:0:a:1:char*:0:int:112:/usr/em/lang/cem/libcc/gen/malloc.c
freopen:0:a:3:char*:char*:struct _iobuf*:1:struct _iobuf*:7:/usr/em/lang/cem/libcc/stdio/freopen.c freopen:0:a:3:char*:char*:struct _iobuf*:1:struct _iobuf*:7:/usr/em/lang/cem/libcc/stdio/freopen.c
fscanf:0:a:-3:struct _iobuf*:"%[dox]=int*%l[dox]=long*%[DOX]=long*%h[dox]=short*%u=unsigned int*%lu=unsigned long*%U=unsigned long*%[fe]=float*%l[fe]=double*%[FE]=double*%c=char*%s=char*%[[]=char*":1:int:104:unix7.c fscanf:0:a:-3:struct _iobuf*:"%[dox]=int*%l[dox]=long*%[DOX]=long*%h[dox]=short*%u=unsigned int*%lu=unsigned long*%U=unsigned long*%[fe]=float*%l[fe]=double*%[FE]=double*%c=char*%s=char*%[[]=char*":1:int:104:unix7.c
@ -83,7 +97,8 @@ fseek:0:a:3:struct _iobuf*:long:int:1:int:5:/usr/em/lang/cem/libcc/stdio/fseek.c
fstat:0:a:2:int:struct stat*:1:int:68:unix7.c fstat:0:a:2:int:struct stat*:1:int:68:unix7.c
ftell:0:a:1:struct _iobuf*:1:long:5:/usr/em/lang/cem/libcc/stdio/ftell.c ftell:0:a:1:struct _iobuf*:1:long:5:/usr/em/lang/cem/libcc/stdio/ftell.c
ftime:0:a:1:struct timeb*:0:int:72:unix7.c ftime:0:a:1:struct timeb*:0:int:72:unix7.c
fwrite:0:a:4:char*:unsigned int:int:struct _iobuf*:1:int:4:/usr/em/lang/cem/libcc/stdio/fwrite.c fwrite:0:a:4:char*:unsigned int:unsigned int:struct _iobuf*:1:int:4:/usr/em/lang/cem/libcc/stdio/fwrite.c
gamma:0:a:1:double:1:double:124:/usr/em/lang/cem/libcc/math/gamma.c
gcvt:0:a:3:double:int:char*:1:char*:8:/usr/em/lang/cem/libcc/gen/gcvt.c gcvt:0:a:3:double:int:char*:1:char*:8:/usr/em/lang/cem/libcc/gen/gcvt.c
getchar:0:a:0:1:int:6:/usr/em/lang/cem/libcc/stdio/getchar.c getchar:0:a:0:1:int:6:/usr/em/lang/cem/libcc/stdio/getchar.c
getegid:0:a:0:1:int:48:unix7.c getegid:0:a:0:1:int:48:unix7.c
@ -94,7 +109,7 @@ getgrent:0:a:0:1:struct group*:72:/usr/em/lang/cem/libcc/stdio/getgrent.c
getgrgid:0:a:1:int:1:struct group*:102:/usr/em/lang/cem/libcc/stdio/getgrent.c getgrgid:0:a:1:int:1:struct group*:102:/usr/em/lang/cem/libcc/stdio/getgrent.c
getgrnam:0:a:1:char*:1:struct group*:86:/usr/em/lang/cem/libcc/stdio/getgrent.c getgrnam:0:a:1:char*:1:struct group*:86:/usr/em/lang/cem/libcc/stdio/getgrent.c
getlogin:0:a:0:1:char*:29:/usr/em/lang/cem/libcc/gen/getlogin.c getlogin:0:a:0:1:char*:29:/usr/em/lang/cem/libcc/gen/getlogin.c
getopt:0:a:3:int:char**:char*:1:int:16:/usr/em/lang/cem/libcc/gen/getopt.c getopt:0:a:3:int:char**:char*:1:int:16:/usr/em/lang/cem/libcc/stdio/getopt.c
getpass:0:a:1:char*:1:char*:5:/usr/em/lang/cem/libcc/stdio/getpass.c getpass:0:a:1:char*:1:char*:5:/usr/em/lang/cem/libcc/stdio/getpass.c
getpid:0:a:0:1:int:44:unix7.c getpid:0:a:0:1:int:44:unix7.c
getpw:0:a:2:int:char*:1:int:4:/usr/em/lang/cem/libcc/stdio/getpw.c getpw:0:a:2:int:char*:1:int:4:/usr/em/lang/cem/libcc/stdio/getpw.c
@ -106,15 +121,20 @@ getuid:0:a:0:1:int:45:unix7.c
getw:0:a:1:struct _iobuf*:1:int:4:/usr/em/lang/cem/libcc/stdio/getw.c getw:0:a:1:struct _iobuf*:1:int:4:/usr/em/lang/cem/libcc/stdio/getw.c
gmtime:0:a:1:long*:1:struct tm*:14:/usr/em/lang/cem/libcc/gen/gmtime.c gmtime:0:a:1:long*:1:struct tm*:14:/usr/em/lang/cem/libcc/gen/gmtime.c
gtty:0:a:2:int:struct sgttyb*:1:int:3:/usr/em/lang/cem/libcc/mon/gtty.c gtty:0:a:2:int:struct sgttyb*:1:int:3:/usr/em/lang/cem/libcc/mon/gtty.c
index:0:a:2:char*:char:1:char*:2:/usr/em/lang/cem/libcc/gen/index.c hypot:0:a:2:double:double:1:double:11:/usr/em/lang/cem/libcc/math/hypot.c
ioctl:0:a:2:int:int:1:int:50:unix7.c index:0:a:2:char*:int:1:char*:2:/usr/em/lang/cem/libcc/gen/index.c
iop:0:b:struct _iobuf*:13:/usr/em/lang/cem/libcc/stdio/clearerr.c ioctl:0:a:-3:int:unsigned int:1:int:50:unix7.c
isatty:0:a:1:int:1:int:2:/usr/em/lang/cem/libcc/gen/isatty.c isatty:0:a:1:int:1:int:2:/usr/em/lang/cem/libcc/gen/isatty.c
j0:0:a:1:double:1:double:130:/usr/em/lang/cem/libcc/math/j0.c
j1:0:a:1:double:1:double:130:/usr/em/lang/cem/libcc/math/j1.c
jn:0:a:2:int:double:1:double:56:/usr/em/lang/cem/libcc/math/jn.c
kill:0:a:2:int:int:1:int:51:unix7.c kill:0:a:2:int:int:1:int:51:unix7.c
l3tol:0:a:3:long*:char*:int:0:int:14:/usr/em/lang/cem/libcc/gen/l3.c l3tol:0:a:3:long*:char*:int:0:int:14:/usr/em/lang/cem/libcc/gen/l3.c
ldexp:0:a:2:double:int:1:double:6:/usr/em/lang/cem/libcc/gen/ldexp.c ldexp:0:a:2:double:int:1:double:6:/usr/em/lang/cem/libcc/gen/ldexp.c
link:0:a:2:char*:char*:1:int:52:unix7.c link:0:a:2:char*:char*:1:int:52:unix7.c
localtime:0:a:1:long*:1:struct tm*:33:/usr/em/lang/cem/libcc/gen/localtime.c localtime:0:a:1:long*:1:struct tm*:33:/usr/em/lang/cem/libcc/gen/localtime.c
log10:0:a:1:double:1:double:16:/usr/em/lang/cem/libcc/math/log10.c
log:0:a:1:double:1:double:16:/usr/em/lang/cem/libcc/math/log.c
lseek:0:a:3:int:long:int:1:long:53:unix7.c lseek:0:a:3:int:long:int:1:long:53:unix7.c
ltol3:0:a:3:char*:long*:int:0:int:2:/usr/em/lang/cem/libcc/gen/l3.c ltol3:0:a:3:char*:long*:int:0:int:2:/usr/em/lang/cem/libcc/gen/l3.c
malloc:0:a:1:unsigned int:1:char*:55:/usr/em/lang/cem/libcc/gen/malloc.c malloc:0:a:1:unsigned int:1:char*:55:/usr/em/lang/cem/libcc/gen/malloc.c
@ -132,16 +152,17 @@ mount:0:a:3:char*:char*:int:1:int:55:unix7.c
nice:0:a:1:int:1:int:57:unix7.c nice:0:a:1:int:1:int:57:unix7.c
open:0:a:2:char*:int:1:int:58:unix7.c open:0:a:2:char*:int:1:int:58:unix7.c
opendir:0:a:1:char*:1:struct _dirdesc*:9:/usr/em/lang/cem/libcc/gen/opendir.c opendir:0:a:1:char*:1:struct _dirdesc*:9:/usr/em/lang/cem/libcc/gen/opendir.c
optarg:0:b:char*:12:/usr/em/lang/cem/libcc/gen/getopt.c optarg:0:b:char*:12:/usr/em/lang/cem/libcc/stdio/getopt.c
opterr:0:b:int:9:/usr/em/lang/cem/libcc/gen/getopt.c opterr:0:b:int:9:/usr/em/lang/cem/libcc/stdio/getopt.c
optind:0:b:int:10:/usr/em/lang/cem/libcc/gen/getopt.c optind:0:b:int:10:/usr/em/lang/cem/libcc/stdio/getopt.c
optopt:0:b:int:11:/usr/em/lang/cem/libcc/gen/getopt.c optopt:0:b:int:11:/usr/em/lang/cem/libcc/stdio/getopt.c
ospeed:0:b:short:23:/usr/em/lang/cem/libcc/stdio/termcap.c ospeed:0:b:short:23:/usr/em/lang/cem/libcc/stdio/termcap.c
pause:0:a:0:0:int:59:unix7.c pause:0:a:0:0:int:59:unix7.c
pclose:0:a:1:struct _iobuf*:1:int:38:/usr/em/lang/cem/libcc/stdio/popen.c pclose:0:a:1:struct _iobuf*:1:int:38:/usr/em/lang/cem/libcc/stdio/popen.c
perror:0:a:1:char*:0:int:45:/usr/em/lang/cem/libcc/gen/perror.c perror:0:a:1:char*:0:int:45:/usr/em/lang/cem/libcc/gen/perror.c
pipe:0:a:1:int*:1:int:60:unix7.c pipe:0:a:1:int*:1:int:60:unix7.c
popen:0:a:2:char*:char*:1:struct _iobuf*:8:/usr/em/lang/cem/libcc/stdio/popen.c popen:0:a:2:char*:char*:1:struct _iobuf*:8:/usr/em/lang/cem/libcc/stdio/popen.c
pow:0:a:2:double:double:1:double:16:/usr/em/lang/cem/libcc/math/pow.c
printf:0:a:-2:"%[dox]=int%l[dox]=long%[DOX]=long%u=unsigned int%lu=unsigned long%U=unsigned long%[feg]=double%c=int%s=char*":0:int:88:unix7.c printf:0:a:-2:"%[dox]=int%l[dox]=long%[DOX]=long%u=unsigned int%lu=unsigned long%U=unsigned long%[feg]=double%c=int%s=char*":0:int:88:unix7.c
procentry:0:a:1:char*:0:int:23:/usr/em/lang/cem/libcc/gen/procentry.c procentry:0:a:1:char*:0:int:23:/usr/em/lang/cem/libcc/gen/procentry.c
procexit:0:a:1:char*:0:int:32:/usr/em/lang/cem/libcc/gen/procentry.c procexit:0:a:1:char*:0:int:32:/usr/em/lang/cem/libcc/gen/procentry.c
@ -156,10 +177,10 @@ read:0:a:3:int:char*:int:1:int:63:unix7.c
readdir:0:a:1:struct _dirdesc*:1:struct direct*:22:/usr/em/lang/cem/libcc/gen/readdir.c readdir:0:a:1:struct _dirdesc*:1:struct direct*:22:/usr/em/lang/cem/libcc/gen/readdir.c
realloc:0:a:2:char*:unsigned int:1:char*:85:/usr/em/lang/cem/libcc/gen/malloc.c realloc:0:a:2:char*:unsigned int:1:char*:85:/usr/em/lang/cem/libcc/gen/malloc.c
rewind:0:a:1:struct _iobuf*:1:int:4:/usr/em/lang/cem/libcc/stdio/rewind.c rewind:0:a:1:struct _iobuf*:1:int:4:/usr/em/lang/cem/libcc/stdio/rewind.c
rindex:0:a:2:char*:char:1:char*:2:/usr/em/lang/cem/libcc/gen/rindex.c rindex:0:a:2:char*:int:1:char*:2:/usr/em/lang/cem/libcc/gen/rindex.c
sbrk:0:a:1:int:1:char*:27:unix7.c sbrk:0:a:1:int:1:char*:27:unix7.c
scanf:0:a:-2:"%[dox]=int*%l[dox]=long*%[DOX]=long*%h[dox]=short*%u=unsigned int*%lu=unsigned long*%U=unsigned long*%[fe]=float*%l[fe]=double*%[FE]=double*%c=char*%s=char*%[[]=char*":1:int:102:unix7.c scanf:0:a:-2:"%[dox]=int*%l[dox]=long*%[DOX]=long*%h[dox]=short*%u=unsigned int*%lu=unsigned long*%U=unsigned long*%[fe]=float*%l[fe]=double*%[FE]=double*%c=char*%s=char*%[[]=char*":1:int:102:unix7.c
seekdir:0:a:2:struct _dirdesc*:long:0:void:9:/usr/em/lang/cem/libcc/gen/seekdir.c seekdir:0:a:2:struct _dirdesc*:long:0:int:9:/usr/em/lang/cem/libcc/gen/seekdir.c
setbuf:0:a:2:struct _iobuf*:char*:0:int:4:/usr/em/lang/cem/libcc/stdio/setbuf.c setbuf:0:a:2:struct _iobuf*:char*:0:int:4:/usr/em/lang/cem/libcc/stdio/setbuf.c
setgid:0:a:1:int:1:int:65:unix7.c setgid:0:a:1:int:1:int:65:unix7.c
setgrent:0:a:0:1:int:21:/usr/em/lang/cem/libcc/stdio/getgrent.c setgrent:0:a:0:1:int:21:/usr/em/lang/cem/libcc/stdio/getgrent.c
@ -167,14 +188,18 @@ setkey:0:a:1:char*:0:int:188:/usr/em/lang/cem/libcc/gen/crypt.c
setpwent:0:a:0:1:int:24:/usr/em/lang/cem/libcc/stdio/getpwent.c setpwent:0:a:0:1:int:24:/usr/em/lang/cem/libcc/stdio/getpwent.c
setuid:0:a:1:int:1:int:64:unix7.c setuid:0:a:1:int:1:int:64:unix7.c
signal:0:a:2:int:int()*:1:int()*:66:unix7.c signal:0:a:2:int:int()*:1:int()*:66:unix7.c
signgam:0:b:int:68:/usr/em/lang/cem/libcc/math/gamma.c
sin:0:a:1:double:1:double:103:/usr/em/lang/cem/libcc/math/sin.c
sinh:0:a:1:double:1:double:16:/usr/em/lang/cem/libcc/math/sinh.c
sleep:0:a:1:int:0:int:12:/usr/em/lang/cem/libcc/gen/sleep.c sleep:0:a:1:int:0:int:12:/usr/em/lang/cem/libcc/gen/sleep.c
sprintf:0:a:-3:char*:"%[dox]=int%l[dox]=long%[DOX]=long%u=unsigned int%lu=unsigned long%U=unsigned long%[feg]=double%c=int%s=char*":0:int:93:unix7.c sprintf:0:a:-3:char*:"%[dox]=int%l[dox]=long%[DOX]=long%u=unsigned int%lu=unsigned long%U=unsigned long%[feg]=double%c=int%s=char*":0:int:93:unix7.c
sqrt:0:a:1:double:1:double:18:/usr/em/lang/cem/libcc/math/sqrt.c
srand:0:a:1:unsigned int:0:int:14:/usr/em/lang/cem/libcc/gen/rand.c srand:0:a:1:unsigned int:0:int:14:/usr/em/lang/cem/libcc/gen/rand.c
sscanf:0:a:-3:char*:"%[dox]=int*%l[dox]=long*%[DOX]=long*%h[dox]=short*%u=unsigned int*%lu=unsigned long*%U=unsigned long*%[fe]=float*%l[fe]=double*%[FE]=double*%c=char*%s=char*%[[]=char*":1:int:106:unix7.c sscanf:0:a:-3:char*:"%[dox]=int*%l[dox]=long*%[DOX]=long*%h[dox]=short*%u=unsigned int*%lu=unsigned long*%U=unsigned long*%[fe]=float*%l[fe]=double*%[FE]=double*%c=char*%s=char*%[[]=char*":1:int:106:unix7.c
stat:0:a:2:char*:struct stat*:1:int:67:unix7.c stat:0:a:2:char*:struct stat*:1:int:67:unix7.c
stime:0:a:1:long*:1:int:69:unix7.c stime:0:a:1:long*:1:int:69:unix7.c
strcat:0:a:2:char*:char*:1:char*:2:/usr/em/lang/cem/libcc/gen/strcat.c strcat:0:a:2:char*:char*:1:char*:2:/usr/em/lang/cem/libcc/gen/strcat.c
strchr:0:a:2:char*:char:1:char*:2:/usr/em/lang/cem/libcc/gen/strchr.c strchr:0:a:2:char*:int:1:char*:2:/usr/em/lang/cem/libcc/gen/strchr.c
strcmp:0:a:2:char*:char*:1:int:2:/usr/em/lang/cem/libcc/gen/strcmp.c strcmp:0:a:2:char*:char*:1:int:2:/usr/em/lang/cem/libcc/gen/strcmp.c
strcpy:0:a:2:char*:char*:1:char*:2:/usr/em/lang/cem/libcc/gen/strcpy.c strcpy:0:a:2:char*:char*:1:char*:2:/usr/em/lang/cem/libcc/gen/strcpy.c
strcspn:0:a:2:char*:char*:1:int:3:/usr/em/lang/cem/libcc/gen/strcspn.c strcspn:0:a:2:char*:char*:1:int:3:/usr/em/lang/cem/libcc/gen/strcspn.c
@ -183,9 +208,10 @@ strncat:0:a:3:char*:char*:int:1:char*:2:/usr/em/lang/cem/libcc/gen/strncat.c
strncmp:0:a:3:char*:char*:int:1:int:3:/usr/em/lang/cem/libcc/gen/strncmp.c strncmp:0:a:3:char*:char*:int:1:int:3:/usr/em/lang/cem/libcc/gen/strncmp.c
strncpy:0:a:3:char*:char*:int:1:char*:3:/usr/em/lang/cem/libcc/gen/strncpy.c strncpy:0:a:3:char*:char*:int:1:char*:3:/usr/em/lang/cem/libcc/gen/strncpy.c
strpbrk:0:a:2:char*:char*:1:char*:3:/usr/em/lang/cem/libcc/gen/strpbrk.c strpbrk:0:a:2:char*:char*:1:char*:3:/usr/em/lang/cem/libcc/gen/strpbrk.c
strrchr:0:a:2:char*:char:1:char*:2:/usr/em/lang/cem/libcc/gen/strrchr.c strrchr:0:a:2:char*:int:1:char*:2:/usr/em/lang/cem/libcc/gen/strrchr.c
strspn:0:a:2:char*:char*:1:int:3:/usr/em/lang/cem/libcc/gen/strspn.c strspn:0:a:2:char*:char*:1:int:3:/usr/em/lang/cem/libcc/gen/strspn.c
strstr:0:a:2:char*:char*:1:char*:4:/usr/em/lang/cem/libcc/gen/strstr.c strstr:0:a:2:char*:char*:1:char*:4:/usr/em/lang/cem/libcc/gen/strstr.c
strtod:0:a:2:char*:char**:1:double:10:/usr/em/lang/cem/libcc/gen/strtod.c
strtok:0:a:2:char*:char*:1:char*:5:/usr/em/lang/cem/libcc/gen/strtok.c strtok:0:a:2:char*:char*:1:char*:5:/usr/em/lang/cem/libcc/gen/strtok.c
stty:0:a:2:int:struct sgttyb*:1:int:3:/usr/em/lang/cem/libcc/mon/stty.c stty:0:a:2:int:struct sgttyb*:1:int:3:/usr/em/lang/cem/libcc/mon/stty.c
swab:0:a:3:char*:char*:int:0:int:2:/usr/em/lang/cem/libcc/gen/swab.c swab:0:a:3:char*:char*:int:0:int:2:/usr/em/lang/cem/libcc/gen/swab.c
@ -193,17 +219,24 @@ sync:0:a:0:0:int:70:unix7.c
sys_errlist:0:b:char**:112:unix7.c sys_errlist:0:b:char**:112:unix7.c
sys_nerr:0:b:int:43:/usr/em/lang/cem/libcc/gen/perror.c sys_nerr:0:b:int:43:/usr/em/lang/cem/libcc/gen/perror.c
system:0:a:1:char*:1:int:4:/usr/em/lang/cem/libcc/stdio/system.c system:0:a:1:char*:1:int:4:/usr/em/lang/cem/libcc/stdio/system.c
tan:0:a:1:double:1:double:16:/usr/em/lang/cem/libcc/math/tan.c
tanh:0:a:1:double:1:double:14:/usr/em/lang/cem/libcc/math/tanh.c
tell:0:a:1:int:1:long:8:/usr/em/lang/cem/libcc/mon/tell.c tell:0:a:1:int:1:long:8:/usr/em/lang/cem/libcc/mon/tell.c
telldir:0:a:1:struct _dirdesc*:1:long:8:/usr/em/lang/cem/libcc/gen/telldir.c telldir:0:a:1:struct _dirdesc*:1:long:8:/usr/em/lang/cem/libcc/gen/telldir.c
testbessel:0:a:0:0:int:166:/usr/em/lang/cem/libcc/math/test.c
testexplog:0:a:0:0:int:120:/usr/em/lang/cem/libcc/math/test.c
testgamma:0:a:0:0:int:154:/usr/em/lang/cem/libcc/math/test.c
testsqrt:0:a:0:0:int:33:/usr/em/lang/cem/libcc/math/test.c
testtrig:0:a:0:0:int:52:/usr/em/lang/cem/libcc/math/test.c
tgetent:0:a:2:char*:char*:1:int:41:/usr/em/lang/cem/libcc/stdio/termcap.c tgetent:0:a:2:char*:char*:1:int:41:/usr/em/lang/cem/libcc/stdio/termcap.c
tgetflag:0:a:1:char*:1:int:166:/usr/em/lang/cem/libcc/stdio/termcap.c tgetflag:0:a:1:char*:1:int:172:/usr/em/lang/cem/libcc/stdio/termcap.c
tgetnum:0:a:1:char*:1:int:132:/usr/em/lang/cem/libcc/stdio/termcap.c tgetnum:0:a:1:char*:1:int:138:/usr/em/lang/cem/libcc/stdio/termcap.c
tgetstr:0:a:2:char*:char**:1:char*:192:/usr/em/lang/cem/libcc/stdio/termcap.c tgetstr:0:a:2:char*:char**:1:char*:198:/usr/em/lang/cem/libcc/stdio/termcap.c
tgoto:0:a:3:char*:int:int:1:char*:270:/usr/em/lang/cem/libcc/stdio/termcap.c tgoto:0:a:3:char*:int:int:1:char*:276:/usr/em/lang/cem/libcc/stdio/termcap.c
time:0:a:1:long*:1:long:71:unix7.c time:0:a:1:long*:1:long:71:unix7.c
times:0:a:1:struct tbuf*:0:int:73:unix7.c times:0:a:1:struct tbuf*:0:int:73:unix7.c
timezone:0:a:2:int:int:1:char*:29:/usr/em/lang/cem/libcc/stdio/timezone.c timezone:0:a:2:int:int:1:char*:29:/usr/em/lang/cem/libcc/stdio/timezone.c
tputs:0:a:3:char*:int:int()*:1:int:395:/usr/em/lang/cem/libcc/stdio/termcap.c tputs:0:a:3:char*:int:int()*:1:int:401:/usr/em/lang/cem/libcc/stdio/termcap.c
ttyname:0:a:1:int:1:char*:11:/usr/em/lang/cem/libcc/gen/ttyname.c ttyname:0:a:1:int:1:char*:11:/usr/em/lang/cem/libcc/gen/ttyname.c
ttyslot:0:a:0:1:int:26:/usr/em/lang/cem/libcc/gen/ttyslot.c ttyslot:0:a:0:1:int:26:/usr/em/lang/cem/libcc/gen/ttyslot.c
tzset:0:a:0:0:int:32:/usr/em/lang/cem/libcc/gen/tzset.c tzset:0:a:0:0:int:32:/usr/em/lang/cem/libcc/gen/tzset.c
@ -214,3 +247,6 @@ unlink:0:a:1:char*:1:int:75:unix7.c
utime:0:a:2:char*:long*:1:int:76:unix7.c utime:0:a:2:char*:long*:1:int:76:unix7.c
wait:0:a:1:int*:1:int:77:unix7.c wait:0:a:1:int*:1:int:77:unix7.c
write:0:a:3:int:char*:int:1:int:78:unix7.c write:0:a:3:int:char*:int:1:int:78:unix7.c
y0:0:a:1:double:1:double:190:/usr/em/lang/cem/libcc/math/j0.c
y1:0:a:1:double:1:double:193:/usr/em/lang/cem/libcc/math/j1.c
yn:0:a:2:int:double:1:double:16:/usr/em/lang/cem/libcc/math/jn.c

View file

@ -46,8 +46,8 @@ int getuid() { return(0); }
int getgid() { return(0); } int getgid() { return(0); }
int geteuid() { return(0); } int geteuid() { return(0); }
int getegid() { return(0); } int getegid() { return(0); }
/*VARGARGS2*/ /*VARARGS2*/
int ioctl(d, r) int d, r; { return(0); } int ioctl(d, r) int d; unsigned int r; { return(0); }
int kill(p, s) { return(0); } int kill(p, s) { return(0); }
int link(a, b) char *a, *b; { return(0); } int link(a, b) char *a, *b; { return(0); }
long lseek(f, o, d) long o; { return(0); } long lseek(f, o, d) long o; { return(0); }