Initial commit
This commit is contained in:
parent
9c8e5b9217
commit
63d95a5f0e
31
lang/cem/lint/llib/Makefile
Normal file
31
lang/cem/lint/llib/Makefile
Normal file
|
@ -0,0 +1,31 @@
|
|||
# (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
|
||||
# See the copyright notice in the ACK home directory, in the file "Copyright".
|
||||
#
|
||||
# $Header$
|
||||
|
||||
EM = /usr/em
|
||||
LINT = /usr/dick/lint/lint
|
||||
|
||||
ALLDIR = $(EM)/lang/cem/libcc# # to create llib-lc
|
||||
CURSESDIR = /usr/src/lib/libcurses# # for a local -lcurses
|
||||
MATHDIR = /usr/src/lib/libm# # for a local -lm
|
||||
TERMLIBDIR = /usr/src/lib/libtermlib# # for a local -ltermlib
|
||||
|
||||
llib-lc: unix7.c
|
||||
$(LINT) -Lllib-lc unix7.c
|
||||
|
||||
llib-lcurses:
|
||||
$(LINT) -Lllib-lcurses $(CURSESDIR)/*.c
|
||||
|
||||
|
||||
llib-lm:
|
||||
$(LINT) -Lllib-lm $(MATHDIR)/*.c
|
||||
|
||||
|
||||
llibl-termlib:
|
||||
$(LINT) -Lllibl-termlib $(TERMLIBDIR)/*.c
|
||||
|
||||
llib-lcnew:
|
||||
cp /dev/null llib-lc
|
||||
$(LINT) -Lllibl-lc $(ALLDIR)/*/*.c
|
||||
|
22
lang/cem/lint/llib/README
Normal file
22
lang/cem/lint/llib/README
Normal file
|
@ -0,0 +1,22 @@
|
|||
# (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
|
||||
# See the copyright notice in the ACK home directory, in the file "Copyright".
|
||||
#
|
||||
# $Header$
|
||||
|
||||
This directory contains the standard lint libraries. Normally, nothing
|
||||
needs to be done here. The standard library llib-lc contains all entries
|
||||
from termlib, curses and math as well, which provides the user with
|
||||
advanced warnings if he inadvertently uses a global name that is also
|
||||
used by one of these libraries.
|
||||
|
||||
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
|
||||
|
||||
make llib-lc (or just make)
|
||||
|
||||
If one of the other entries is a shade off, it is unsually easier to edit
|
||||
llib-lc by hand.
|
||||
|
||||
Empty files for llib-ltermlib, llib-lcurses and llib-lm are provided
|
||||
for compatibility.
|
||||
|
216
lang/cem/lint/llib/c.llb
Normal file
216
lang/cem/lint/llib/c.llb
Normal file
|
@ -0,0 +1,216 @@
|
|||
BC:0:b:char*:25:/usr/em/lang/cem/libcc/stdio/termcap.c
|
||||
PC:0:b:char:24:/usr/em/lang/cem/libcc/stdio/termcap.c
|
||||
UP:0:b:char*:26:/usr/em/lang/cem/libcc/stdio/termcap.c
|
||||
__daylight:0:b:int:29:/usr/em/lang/cem/libcc/gen/tzset.c
|
||||
__stb:0:a:3:int:char*:char*:0:int:4:/usr/em/lang/cem/libcc/gen/stb.c
|
||||
__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
|
||||
_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
|
||||
_doprnt:0:a:3:char*:char*:struct _iobuf*:0:int:65:/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
|
||||
_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
|
||||
_flsbuf:0:a:2:unsigned int:struct _iobuf*:1:int:94:unix7.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
|
||||
_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
|
||||
_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
|
||||
_stderr:0:b:struct _io_buf:15:/usr/em/lang/cem/libcc/stdio/data.c
|
||||
_stdin:0:b:struct _io_buf:7:/usr/em/lang/cem/libcc/stdio/data.c
|
||||
_stdout:0:b:struct _io_buf:11:/usr/em/lang/cem/libcc/stdio/data.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
|
||||
access:0:a:2:char*:int:1:int:23:unix7.c
|
||||
acct:0:a:1:char*:1:int:24: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
|
||||
atof:0:a:1:char*:1:double:8:/usr/em/lang/cem/libcc/gen/atof.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
|
||||
bcmp:0:a:3:char*:char*:int:1:int:3:/usr/em/lang/cem/libcc/gen/bcmp.c
|
||||
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
|
||||
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
|
||||
bzero:0:a:2:char*:int:0:int:2:/usr/em/lang/cem/libcc/gen/bzero.c
|
||||
calloc:0:a:2:unsigned int:unsigned int:1:char*:4:/usr/em/lang/cem/libcc/gen/calloc.c
|
||||
chdir:0:a:1:char*:1:int:28: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
|
||||
chroot:0:a:1:char*:1:int:29: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
|
||||
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
|
||||
ctime:0:a:1:long*:1:char*:12:/usr/em/lang/cem/libcc/gen/ctime.c
|
||||
dup2:0:a:2:int:int:1:int:35: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
|
||||
ecvt:0:a:4:double:int:int*:int*:1:char*:8:/usr/em/lang/cem/libcc/gen/ecvt.c
|
||||
encrypt:0:a:2:char*:int:0:int:196:/usr/em/lang/cem/libcc/gen/crypt.c
|
||||
endgrent:0:a:0:0:int:33:/usr/em/lang/cem/libcc/stdio/getgrent.c
|
||||
endpwent:0:a:0:0:int:36:/usr/em/lang/cem/libcc/stdio/getpwent.c
|
||||
environ:0:b:char**:97:unix7.c
|
||||
errno:0:b:int:98:unix7.c
|
||||
execl:0:a:-3:char*:char*:0:int:37:unix7.c
|
||||
execle:0:a:-4:char*:char*:char*:0:int:40:unix7.c
|
||||
execlp:0:a:2:char*:char*:1:int:5:/usr/em/lang/cem/libcc/gen/execvp.c
|
||||
execv:0:a:2:char*:char**:0:int:38: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
|
||||
exit:0:a:1:int:0:int:8:/usr/em/lang/cem/libcc/mon/exit.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
|
||||
fdopen:0:a:2:int:char*:1:struct _iobuf*:4:/usr/em/lang/cem/libcc/stdio/fdopen.c
|
||||
ffc:0:a:1:int:1:int:2:/usr/em/lang/cem/libcc/gen/ffc.c
|
||||
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
|
||||
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
|
||||
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
|
||||
fprintf:0:a:-2:struct _iobuf*:0:int:85:unix7.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
|
||||
fread:0:a:4:char*:unsigned int: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
|
||||
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*:char*:1:int:91:unix7.c
|
||||
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
|
||||
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
|
||||
fwrite:0:a:4:char*:unsigned int:int:struct _iobuf*:1:int:4:/usr/em/lang/cem/libcc/stdio/fwrite.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
|
||||
getegid:0:a:0:1:int:48:unix7.c
|
||||
getenv:0:a:1:char*:1:char*:2:/usr/em/lang/cem/libcc/gen/getenv.c
|
||||
geteuid:0:a:0:1:int:47:unix7.c
|
||||
getgid:0:a:0:1:int:46:unix7.c
|
||||
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
|
||||
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
|
||||
getopt:0:a:3:int:char**:char*:1:int:16:/usr/em/lang/cem/libcc/gen/getopt.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
|
||||
getpw:0:a:2:int:char*:1:int:4:/usr/em/lang/cem/libcc/stdio/getpw.c
|
||||
getpwent:0:a:0:1:struct passwd*:74:/usr/em/lang/cem/libcc/stdio/getpwent.c
|
||||
getpwnam:0:a:1:char*:1:struct passwd*:96:/usr/em/lang/cem/libcc/stdio/getpwent.c
|
||||
getpwuid:0:a:1:int:1:struct passwd*:112:/usr/em/lang/cem/libcc/stdio/getpwent.c
|
||||
gets:0:a:1:char*:1:char*:4:/usr/em/lang/cem/libcc/stdio/gets.c
|
||||
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
|
||||
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
|
||||
index:0:a:2:char*:char:1:char*:2:/usr/em/lang/cem/libcc/gen/index.c
|
||||
ioctl:0:a:2:int:int:1:int:50:unix7.c
|
||||
iop:0:b:struct _iobuf*:13:/usr/em/lang/cem/libcc/stdio/clearerr.c
|
||||
isatty:0:a:1:int:1:int:2:/usr/em/lang/cem/libcc/gen/isatty.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
|
||||
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
|
||||
localtime:0:a:1:long*:1:struct tm*:33:/usr/em/lang/cem/libcc/gen/localtime.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
|
||||
malloc:0:a:1:unsigned int:1:char*:55:/usr/em/lang/cem/libcc/gen/malloc.c
|
||||
memccpy:0:a:4:char*:char*:int:int:1:char*:3:/usr/em/lang/cem/libcc/gen/memccpy.c
|
||||
memchr:0:a:3:char*:int:int:1:char*:3:/usr/em/lang/cem/libcc/gen/memchr.c
|
||||
memcmp:0:a:3:char*:char*:int:1:int:3:/usr/em/lang/cem/libcc/gen/memcmp.c
|
||||
memcpy:0:a:3:char*:char*:int:1:char*:3:/usr/em/lang/cem/libcc/gen/memcpy.c
|
||||
memset:0:a:3:char*:int:int:1:char*:3:/usr/em/lang/cem/libcc/gen/memset.c
|
||||
mknod:0:a:3:char*:int:int:1:int:54:unix7.c
|
||||
mktemp:0:a:1:char*:1:char*:4:/usr/em/lang/cem/libcc/gen/mktemp.c
|
||||
moncontrol:0:a:1:int:0:int:46:/usr/em/lang/cem/libcc/gen/monitor.c
|
||||
monitor:0:a:5:int()*:int()*:char*:int:int:0:int:8:/usr/em/lang/cem/libcc/gen/monitor.c
|
||||
monstartup:0:a:2:int()*:int()*:0:int:53:/usr/em/lang/cem/libcc/gen/monitor.c
|
||||
mount:0:a:3:char*:char*:int:1:int:55:unix7.c
|
||||
nice:0:a:1:int:1:int:57: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
|
||||
optarg:0:b:char*:12:/usr/em/lang/cem/libcc/gen/getopt.c
|
||||
opterr:0:b:int:9:/usr/em/lang/cem/libcc/gen/getopt.c
|
||||
optind:0:b:int:10:/usr/em/lang/cem/libcc/gen/getopt.c
|
||||
optopt:0:b:int:11:/usr/em/lang/cem/libcc/gen/getopt.c
|
||||
ospeed:0:b:short:23:/usr/em/lang/cem/libcc/stdio/termcap.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
|
||||
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
|
||||
popen:0:a:2:char*:char*:1:struct _iobuf*:8:/usr/em/lang/cem/libcc/stdio/popen.c
|
||||
printf:0:a:-2:char*:0:int:83:unix7.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
|
||||
profil:0:a:4:char*:int:int:int:0:int:61:unix7.c
|
||||
ptrace:0:a:4:int:int:int*:int:1:int:62:unix7.c
|
||||
putchar:0:a:1:int:1:int:6:/usr/em/lang/cem/libcc/stdio/putchar.c
|
||||
puts:0:a:1:char*:0:int:4:/usr/em/lang/cem/libcc/stdio/puts.c
|
||||
putw:0:a:2:int:struct _iobuf*:1:int:5:/usr/em/lang/cem/libcc/stdio/putw.c
|
||||
qsort:0:a:4:char*:int:int:int()*:0:int:7:/usr/em/lang/cem/libcc/gen/qsort.c
|
||||
rand:0:a:0:1:int:4:/usr/em/lang/cem/libcc/gen/rand.c
|
||||
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
|
||||
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
|
||||
rindex:0:a:2:char*:char:1:char*:2:/usr/em/lang/cem/libcc/gen/rindex.c
|
||||
sbrk:0:a:1:int:1:char*:27:unix7.c
|
||||
scanf:0:a:-2:char*:1:int:89:unix7.c
|
||||
seekdir:0:a:2:struct _dirdesc*:long:0:void: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
|
||||
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
|
||||
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
|
||||
setuid:0:a:1:int:1:int:64:unix7.c
|
||||
signal:0:a:2:int:int()*:1:int()*:66:unix7.c
|
||||
sleep:0:a:1:int:0:int:12:/usr/em/lang/cem/libcc/gen/sleep.c
|
||||
sprintf:0:a:-3:char*:char*:0:int:87:unix7.c
|
||||
srand:0:a:1:unsigned int:0:int:14:/usr/em/lang/cem/libcc/gen/rand.c
|
||||
sscanf:0:a:-3:char*:char*:1:int:93:unix7.c
|
||||
stat:0:a:2:char*:struct stat*:1:int:67: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
|
||||
strchr:0:a:2:char*:char: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
|
||||
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
|
||||
strlen:0:a:1:char*:1:int:2:/usr/em/lang/cem/libcc/gen/strlen.c
|
||||
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
|
||||
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
|
||||
strrchr:0:a:2:char*:char: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
|
||||
strstr:0:a:2:char*:char*:1:char*:4:/usr/em/lang/cem/libcc/gen/strstr.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
|
||||
swab:0:a:3:char*:char*:int:0:int:2:/usr/em/lang/cem/libcc/gen/swab.c
|
||||
sync:0:a:0:0:int:70:unix7.c
|
||||
sys_errlist:0:b:char**:99:unix7.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
|
||||
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
|
||||
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
|
||||
tgetnum:0:a:1:char*:1:int:132:/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
|
||||
tgoto:0:a:3:char*:int:int:1:char*:270:/usr/em/lang/cem/libcc/stdio/termcap.c
|
||||
time:0:a:1:long*:1:long:71: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
|
||||
tputs:0:a:3:char*:int:int()*:1:int:395:/usr/em/lang/cem/libcc/stdio/termcap.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
|
||||
tzset:0:a:0:0:int:32:/usr/em/lang/cem/libcc/gen/tzset.c
|
||||
umask:0:a:1:int:1:int:74:unix7.c
|
||||
umount:0:a:1:char*:1:int:56:unix7.c
|
||||
ungetc:0:a:2:int:struct _iobuf*:1:int:4:/usr/em/lang/cem/libcc/stdio/ungetc.c
|
||||
unlink:0:a:1:char*:1:int:75:unix7.c
|
||||
utime:0:a:2:char*:long*:1:int:76:unix7.c
|
||||
wait:0:a:1:int*:1:int:77:unix7.c
|
||||
write:0:a:3:int:char*:int:1:int:78:unix7.c
|
0
lang/cem/lint/llib/curses.llb
Normal file
0
lang/cem/lint/llib/curses.llb
Normal file
0
lang/cem/lint/llib/m.llb
Normal file
0
lang/cem/lint/llib/m.llb
Normal file
0
lang/cem/lint/llib/termlib.llb
Normal file
0
lang/cem/lint/llib/termlib.llb
Normal file
99
lang/cem/lint/llib/unix7.c
Normal file
99
lang/cem/lint/llib/unix7.c
Normal file
|
@ -0,0 +1,99 @@
|
|||
/*
|
||||
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
|
||||
* See the copyright notice in the ACK home directory, in the file "Copyright".
|
||||
*/
|
||||
/* $Header$ */
|
||||
|
||||
/* File containing definitions of the UNIX system calls and some other
|
||||
* functions.
|
||||
* Used to fine-tune the -lc library.
|
||||
*/
|
||||
|
||||
/* LINTLIBRARY */
|
||||
|
||||
#include <stdio.h>
|
||||
#include <sgtty.h>
|
||||
#include <signal.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/timeb.h>
|
||||
#include <time.h>
|
||||
|
||||
int access(s, m) char *s; { return(0); }
|
||||
int acct(s) char *s; { return(0); }
|
||||
int alarm(s) unsigned s; { return(0); }
|
||||
char *brk(a) char *a; { return(a); }
|
||||
char *sbrk(i) { return((char *)0); }
|
||||
int chdir(s) char *s; { return(0); }
|
||||
int chroot(s) char *s; { return(0); }
|
||||
int chmod(s, m) char *s; { return(0); }
|
||||
int chown(s, u, g) char *s; { return(0); }
|
||||
int close(f) { return(0); }
|
||||
int creat(s, m) char *s; { return(0); }
|
||||
int dup(f) { return(0); }
|
||||
int dup2(f1, f2) { return(0); }
|
||||
/*VARARGS2*/
|
||||
execl(f, a) char *f, *a; { ; }
|
||||
execv(s, a) char *s, *a[]; { ; }
|
||||
/*VARARGS3*/
|
||||
execle(f, a, s) char *f, *a, *s; { ; }
|
||||
execve(s, a, e) char *s, *a[], *e[]; { ; }
|
||||
_exit(s) { ; }
|
||||
int fork() { return(0); }
|
||||
int getpid() { return(0); }
|
||||
int getuid() { return(0); }
|
||||
int getgid() { return(0); }
|
||||
int geteuid() { return(0); }
|
||||
int getegid() { return(0); }
|
||||
/*VARGARGS2*/
|
||||
int ioctl(d, r) int d, r; { return(0); }
|
||||
int kill(p, s) { return(0); }
|
||||
int link(a, b) char *a, *b; { return(0); }
|
||||
long lseek(f, o, d) long o; { return(0); }
|
||||
int mknod(n, m, a) char *n; { return(0); }
|
||||
int mount(s, n, f) char *s, *n; { return(0); }
|
||||
int umount(s) char *s; { return(0); }
|
||||
int nice(p) { return(0); }
|
||||
int open(f, m) char *f; { return(0); }
|
||||
pause() { ; }
|
||||
int pipe(f) int f[2]; { return(0); }
|
||||
profil(b, s, o, i) char *b; { ; }
|
||||
int ptrace(r, p, a, d) int *a;{ return(0); }
|
||||
int read(f, b, l) char *b; { return(0); }
|
||||
int setuid(u) { return(0); }
|
||||
int setgid(g) { return(0); }
|
||||
int (*signal(c, f))() int (*f)(); { return(f); }
|
||||
int stat(s, b) char *s; struct stat *b; { return(0); }
|
||||
int fstat(f, b) struct stat *b; { return(0); }
|
||||
int stime(t) time_t *t; { return(0); }
|
||||
sync() { ; }
|
||||
time_t time(t) time_t *t; { return( 0 ); }
|
||||
ftime(t) struct timeb *t; { ; }
|
||||
times(b) struct tbuf *b; { ; }
|
||||
int umask(c) { return(0); }
|
||||
int unlink(s) char *s; { return(0); }
|
||||
int utime(f, t) char *f; time_t t[2]; { return(0); }
|
||||
int wait(s) int *s; { return(0); }
|
||||
int write(f, b, l) char *b; { return(0); }
|
||||
int abort() {/*NOTREACHED*/ }
|
||||
|
||||
/* Some definitions to prevent some warnings */
|
||||
/* VARARGS1 */
|
||||
printf(fmt) char *fmt; { ; }
|
||||
/* VARARGS1 */
|
||||
fprintf(fp, fmt) FILE *fp; char *fmt; { ; }
|
||||
/* VARARGS2 */
|
||||
sprintf(s, fmt) char *s; char *fmt; { ; }
|
||||
/* VARARGS1 */
|
||||
int scanf(fmt) char *fmt; { return(0); }
|
||||
/* VARARGS2 */
|
||||
int fscanf(fp, fmt) FILE *fp; char *fmt; { return(0); }
|
||||
/* VARARGS2 */
|
||||
int sscanf(s, fmt) char *s; char *fmt; { return(0); }
|
||||
int _flsbuf(i, fp) unsigned int i; FILE *fp; { return(0); }
|
||||
|
||||
/* System variables */
|
||||
char **environ;
|
||||
int errno;
|
||||
char *sys_errlist[];
|
Loading…
Reference in a new issue