1 ;;; -*- Lisp -*- - well, that's stretching a point. code=data != data=code
3 ;;; first, the headers necessary to find definitions of everything
4 ("sys/types.h" "sys/socket.h" "sys/stat.h" "unistd.h" "sys/un.h"
5 "netinet/in.h" "netinet/in_systm.h" "netinet/ip.h" "net/if.h"
6 "netdb.h" "errno.h" "netinet/tcp.h" "fcntl.h" "signal.h" )
8 ;;; then the stuff we're looking for
9 ((:integer af-inet
"AF_INET" "IP Protocol family")
10 (:integer af-unspec
"AF_UNSPEC" "Unspecified.")
12 #+(or sunos solaris
) "AF_UNIX"
13 #-
(or sunos solaris
) "AF_LOCAL"
14 "Local to host (pipes and file-domain).")
15 (:integer sigterm
"SIGTERM")
16 (:structure stat
("struct stat"
17 (integer dev
"dev_t" "st_dev")
18 (integer atime
"time_t" "st_atime")))
21 (:function accept
("accept" int
24 (addrlen int
:in-out
)))
25 (:function bind
("bind" int
29 (:function getpid
("getpid" int
))
30 (:function getppid
("getppid" int
))
31 (:function kill
("kill" int
32 (pid int
) (signal int
)))
33 (:function mkdir
("mkdir" int