0.pre8.57
[sbcl/lichteblau.git] / contrib / sb-posix / constants.lisp
blob587261f3828fbba6b6de7c3468ad9ab7984f0b2e
1 ;;; -*- Lisp -*-
3 ;;; This isn't really lisp, but it's definitely a source file.
5 ;;; first, the headers necessary to find definitions of everything
6 (#||#
7 "sys/types.h"
8 "unistd.h"
9 "sys/stat.h"
11 "sys/socket.h" "sys/un.h" "netinet/in.h" "netinet/in_systm.h"
12 "netinet/ip.h" "net/if.h" "netdb.h" "errno.h" "netinet/tcp.h"
13 "fcntl.h" )
15 ;;; then the stuff we're looking for
16 ((:integer af-inet "AF_INET" "IP Protocol family")
18 (:type uid-t "uid_t")
19 (:type gid-t "gid_t")
21 (:type pid-t "pid_t")
23 ;; mode_t
24 (:type mode-t "mode_t")
25 (:integer s-isuid "S_ISUID")
26 (:integer s-isgid "S_ISGID")
27 (:integer s-isvtx "S_ISVTX")
28 (:integer s-irusr "S_IRUSR")
29 (:integer s-iwusr "S_IWUSR")
30 (:integer s-ixusr "S_IXUSR")
31 (:integer s-iread "S_IRUSR")
32 (:integer s-iwrite "S_IWUSR")
33 (:integer s-iexec "S_IXUSR")
34 (:integer s-irgrp "S_IRGRP")
35 (:integer s-iwgrp "S_IWGRP")
36 (:integer s-ixgrp "S_IXGRP")
37 (:integer s-iroth "S_IROTH")
38 (:integer s-iwoth "S_IWOTH")
39 (:integer s-ixoth "S_IXOTH")
41 ;; access()
42 (:integer r-ok "R_OK")
43 (:integer w-ok "W_OK")
44 (:integer x-ok "X_OK")
45 (:integer f-ok "F_OK")