(cl:in-package #:SB-POSIX)
(cl:eval-when (:compile-toplevel)
  (cl:defparameter *integer-sizes* (cl:make-hash-table))
  (cl:setf (cl:gethash 1 *integer-sizes*) 'sb-alien:char)
  (cl:setf (cl:gethash 2 *integer-sizes*) 'sb-alien:short)
  (cl:setf (cl:gethash 8 *integer-sizes*) 'sb-alien:long)
  (cl:setf (cl:gethash 4 *integer-sizes*) 'sb-alien:int)
)
(cl:defconstant AF-INET 2 "IP Protocol family")
(cl:export 'AF-INET)
(cl:eval-when (:compile-toplevel :load-toplevel :execute) (sb-alien:define-alien-type UID-T (sb-alien:unsigned 32)))
(cl:eval-when (:compile-toplevel :load-toplevel :execute) (sb-alien:define-alien-type GID-T (sb-alien:unsigned 32)))
(cl:eval-when (:compile-toplevel :load-toplevel :execute) (sb-alien:define-alien-type NLINK-T (sb-alien:unsigned 16)))
(cl:eval-when (:compile-toplevel :load-toplevel :execute) (sb-alien:define-alien-type PID-T (sb-alien:signed 32)))
(cl:eval-when (:compile-toplevel :load-toplevel :execute) (sb-alien:define-alien-type INO-T (sb-alien:unsigned 32)))
(cl:eval-when (:compile-toplevel :load-toplevel :execute) (sb-alien:define-alien-type TIME-T (sb-alien:signed 64)))
(cl:eval-when (:compile-toplevel :load-toplevel :execute) (sb-alien:define-alien-type DEV-T (sb-alien:unsigned 32)))
(cl:defconstant SIGHUP 1 "terminal line hangup.")
(cl:export 'SIGHUP)
(cl:defconstant SIGINT 2 "interrupt program.")
(cl:export 'SIGINT)
(cl:defconstant SIGQUIT 3 "quit program.")
(cl:export 'SIGQUIT)
(cl:defconstant SIGILL 4 "illegal instruction.")
(cl:export 'SIGILL)
(cl:defconstant SIGTRAP 5 "trace trap.")
(cl:export 'SIGTRAP)
(cl:defconstant SIGABRT 6 "abort program (formerly SIGIOT).")
(cl:export 'SIGABRT)
(cl:defconstant SIGEMT 7 "emulate instruction executed.")
(cl:export 'SIGEMT)
(cl:defconstant SIGFPE 8 "floating-point exception.")
(cl:export 'SIGFPE)
(cl:defconstant SIGKILL 9 "kill program.")
(cl:export 'SIGKILL)
(cl:defconstant SIGBUS 10 "bus error.")
(cl:export 'SIGBUS)
(cl:defconstant SIGSEGV 11 "segmentation violation.")
(cl:export 'SIGSEGV)
(cl:defconstant SIGSYS 12 "non-existent system call invoked.")
(cl:export 'SIGSYS)
(cl:defconstant SIGPIPE 13 "write on a pipe with no reader.")
(cl:export 'SIGPIPE)
(cl:defconstant SIGALRM 14 "real-time timer expired.")
(cl:export 'SIGALRM)
(cl:defconstant SIGTERM 15 "software termination signal.")
(cl:export 'SIGTERM)
(cl:defconstant SIGURG 16 "urgent condition present on socket.")
(cl:export 'SIGURG)
(cl:defconstant SIGSTOP 17 "stop (cannot be caught or ignored).")
(cl:export 'SIGSTOP)
(cl:defconstant SIGTSTP 18 "stop signal generated from keyboard.")
(cl:export 'SIGTSTP)
(cl:defconstant SIGCONT 19 "continue after stop.")
(cl:export 'SIGCONT)
(cl:defconstant SIGCHLD 20 "child status has changed.")
(cl:export 'SIGCHLD)
(cl:defconstant SIGTTIN 21 "background read attempted from control terminal.")
(cl:export 'SIGTTIN)
(cl:defconstant SIGTTOU 22 "background write attempted to control terminal.")
(cl:export 'SIGTTOU)
(cl:defconstant SIGIO 23 "I/O is possible on a descriptor (see fcntl(2)).")
(cl:export 'SIGIO)
(cl:defconstant SIGXCPU 24 "cpu time limit exceeded (see setrlimit(2)).")
(cl:export 'SIGXCPU)
(cl:defconstant SIGXFSZ 25 "file size limit exceeded (see setrlimit(2)).")
(cl:export 'SIGXFSZ)
(cl:defconstant SIGVTALRM 26 "virtual time alarm (see setitimer(2)).")
(cl:export 'SIGVTALRM)
(cl:defconstant SIGPROF 27 "profiling timer alarm (see setitimer(2)).")
(cl:export 'SIGPROF)
(cl:defconstant SIGWINCH 28 "Window size change.")
(cl:export 'SIGWINCH)
(cl:defconstant SIGINFO 29 "status request from keyboard.")
(cl:export 'SIGINFO)
(cl:defconstant SIGUSR1 30 "User defined signal 1.")
(cl:export 'SIGUSR1)
(cl:defconstant SIGUSR2 31 "User defined signal 2.")
(cl:export 'SIGUSR2)
(sb-int:style-warn "Couldn't grovel for SIGRTMIN (unknown to the C compiler).")
(cl:export 'SIGRTMIN)
(sb-int:style-warn "Couldn't grovel for SIGRTMAX (unknown to the C compiler).")
(cl:export 'SIGRTMAX)
(cl:defconstant EPERM 1 "NIL")
(cl:export 'EPERM)
(cl:defconstant ENOENT 2 "NIL")
(cl:export 'ENOENT)
(cl:defconstant ESRCH 3 "NIL")
(cl:export 'ESRCH)
(cl:defconstant EINTR 4 "NIL")
(cl:export 'EINTR)
(cl:defconstant EIO 5 "NIL")
(cl:export 'EIO)
(cl:defconstant ENXIO 6 "NIL")
(cl:export 'ENXIO)
(cl:defconstant E2BIG 7 "NIL")
(cl:export 'E2BIG)
(cl:defconstant ENOEXEC 8 "NIL")
(cl:export 'ENOEXEC)
(cl:defconstant EBADF 9 "NIL")
(cl:export 'EBADF)
(cl:defconstant ECHILD 10 "NIL")
(cl:export 'ECHILD)
(cl:defconstant EAGAIN 35 "NIL")
(cl:export 'EAGAIN)
(cl:defconstant ENOMEM 12 "NIL")
(cl:export 'ENOMEM)
(cl:defconstant EACCES 13 "NIL")
(cl:export 'EACCES)
(cl:defconstant EFAULT 14 "NIL")
(cl:export 'EFAULT)
(cl:defconstant ENOTBLK 15 "NIL")
(cl:export 'ENOTBLK)
(cl:defconstant EBUSY 16 "NIL")
(cl:export 'EBUSY)
(cl:defconstant EEXIST 17 "NIL")
(cl:export 'EEXIST)
(cl:defconstant EXDEV 18 "NIL")
(cl:export 'EXDEV)
(cl:defconstant ENODEV 19 "NIL")
(cl:export 'ENODEV)
(cl:defconstant ENOTDIR 20 "NIL")
(cl:export 'ENOTDIR)
(cl:defconstant EISDIR 21 "NIL")
(cl:export 'EISDIR)
(cl:defconstant EINVAL 22 "NIL")
(cl:export 'EINVAL)
(cl:defconstant ENFILE 23 "NIL")
(cl:export 'ENFILE)
(cl:defconstant EMFILE 24 "NIL")
(cl:export 'EMFILE)
(cl:defconstant ENOTTY 25 "NIL")
(cl:export 'ENOTTY)
(cl:defconstant ETXTBSY 26 "NIL")
(cl:export 'ETXTBSY)
(cl:defconstant EFBIG 27 "NIL")
(cl:export 'EFBIG)
(cl:defconstant ENOSPC 28 "NIL")
(cl:export 'ENOSPC)
(cl:defconstant ESPIPE 29 "NIL")
(cl:export 'ESPIPE)
(cl:defconstant EROFS 30 "NIL")
(cl:export 'EROFS)
(cl:defconstant EMLINK 31 "NIL")
(cl:export 'EMLINK)
(cl:defconstant EPIPE 32 "NIL")
(cl:export 'EPIPE)
(cl:defconstant EDOM 33 "NIL")
(cl:export 'EDOM)
(cl:defconstant ERANGE 34 "NIL")
(cl:export 'ERANGE)
(cl:defconstant EDEADLK 11 "NIL")
(cl:export 'EDEADLK)
(cl:defconstant ENAMETOOLONG 63 "NIL")
(cl:export 'ENAMETOOLONG)
(cl:defconstant ENOLCK 77 "NIL")
(cl:export 'ENOLCK)
(cl:defconstant ENOSYS 78 "NIL")
(cl:export 'ENOSYS)
(cl:defconstant ENOTEMPTY 66 "NIL")
(cl:export 'ENOTEMPTY)
(cl:defconstant ELOOP 62 "NIL")
(cl:export 'ELOOP)
(cl:defconstant EWOULDBLOCK 35 "NIL")
(cl:export 'EWOULDBLOCK)
(cl:defconstant ENOMSG 83 "NIL")
(cl:export 'ENOMSG)
(cl:defconstant EIDRM 82 "NIL")
(cl:export 'EIDRM)
(sb-int:style-warn "Couldn't grovel for ECHRNG (unknown to the C compiler).")
(cl:export 'ECHRNG)
(sb-int:style-warn "Couldn't grovel for EL2NSYNC (unknown to the C compiler).")
(cl:export 'EL2NSYNC)
(sb-int:style-warn "Couldn't grovel for EL3HLT (unknown to the C compiler).")
(cl:export 'EL3HLT)
(sb-int:style-warn "Couldn't grovel for EL3RST (unknown to the C compiler).")
(cl:export 'EL3RST)
(sb-int:style-warn "Couldn't grovel for ELNRNG (unknown to the C compiler).")
(cl:export 'ELNRNG)
(sb-int:style-warn "Couldn't grovel for EUNATCH (unknown to the C compiler).")
(cl:export 'EUNATCH)
(sb-int:style-warn "Couldn't grovel for ENOCSI (unknown to the C compiler).")
(cl:export 'ENOCSI)
(sb-int:style-warn "Couldn't grovel for EL2HLT (unknown to the C compiler).")
(cl:export 'EL2HLT)
(sb-int:style-warn "Couldn't grovel for EBADE (unknown to the C compiler).")
(cl:export 'EBADE)
(sb-int:style-warn "Couldn't grovel for EBADR (unknown to the C compiler).")
(cl:export 'EBADR)
(sb-int:style-warn "Couldn't grovel for EXFULL (unknown to the C compiler).")
(cl:export 'EXFULL)
(sb-int:style-warn "Couldn't grovel for ENOANO (unknown to the C compiler).")
(cl:export 'ENOANO)
(sb-int:style-warn "Couldn't grovel for EBADRQC (unknown to the C compiler).")
(cl:export 'EBADRQC)
(sb-int:style-warn "Couldn't grovel for EBADSLT (unknown to the C compiler).")
(cl:export 'EBADSLT)
(sb-int:style-warn "Couldn't grovel for EDEADLOCK (unknown to the C compiler).")
(cl:export 'EDEADLOCK)
(sb-int:style-warn "Couldn't grovel for EBFONT (unknown to the C compiler).")
(cl:export 'EBFONT)
(sb-int:style-warn "Couldn't grovel for ENOSTR (unknown to the C compiler).")
(cl:export 'ENOSTR)
(sb-int:style-warn "Couldn't grovel for ENODATA (unknown to the C compiler).")
(cl:export 'ENODATA)
(sb-int:style-warn "Couldn't grovel for ETIME (unknown to the C compiler).")
(cl:export 'ETIME)
(sb-int:style-warn "Couldn't grovel for ENOSR (unknown to the C compiler).")
(cl:export 'ENOSR)
(sb-int:style-warn "Couldn't grovel for ENONET (unknown to the C compiler).")
(cl:export 'ENONET)
(sb-int:style-warn "Couldn't grovel for ENOPKG (unknown to the C compiler).")
(cl:export 'ENOPKG)
(cl:defconstant EREMOTE 71 "NIL")
(cl:export 'EREMOTE)
(sb-int:style-warn "Couldn't grovel for ENOLINK (unknown to the C compiler).")
(cl:export 'ENOLINK)
(sb-int:style-warn "Couldn't grovel for EADV (unknown to the C compiler).")
(cl:export 'EADV)
(sb-int:style-warn "Couldn't grovel for ESRMNT (unknown to the C compiler).")
(cl:export 'ESRMNT)
(sb-int:style-warn "Couldn't grovel for ECOMM (unknown to the C compiler).")
(cl:export 'ECOMM)
(sb-int:style-warn "Couldn't grovel for EPROTO (unknown to the C compiler).")
(cl:export 'EPROTO)
(sb-int:style-warn "Couldn't grovel for EMULTIHOP (unknown to the C compiler).")
(cl:export 'EMULTIHOP)
(sb-int:style-warn "Couldn't grovel for EDOTDOT (unknown to the C compiler).")
(cl:export 'EDOTDOT)
(sb-int:style-warn "Couldn't grovel for EBADMSG (unknown to the C compiler).")
(cl:export 'EBADMSG)
(cl:defconstant EOVERFLOW 84 "NIL")
(cl:export 'EOVERFLOW)
(sb-int:style-warn "Couldn't grovel for ENOTUNIQ (unknown to the C compiler).")
(cl:export 'ENOTUNIQ)
(sb-int:style-warn "Couldn't grovel for EBADFD (unknown to the C compiler).")
(cl:export 'EBADFD)
(sb-int:style-warn "Couldn't grovel for EREMCHG (unknown to the C compiler).")
(cl:export 'EREMCHG)
(sb-int:style-warn "Couldn't grovel for ELIBACC (unknown to the C compiler).")
(cl:export 'ELIBACC)
(sb-int:style-warn "Couldn't grovel for ELIBBAD (unknown to the C compiler).")
(cl:export 'ELIBBAD)
(sb-int:style-warn "Couldn't grovel for ELIBSCN (unknown to the C compiler).")
(cl:export 'ELIBSCN)
(sb-int:style-warn "Couldn't grovel for ELIBMAX (unknown to the C compiler).")
(cl:export 'ELIBMAX)
(sb-int:style-warn "Couldn't grovel for ELIBEXEC (unknown to the C compiler).")
(cl:export 'ELIBEXEC)
(cl:defconstant EILSEQ 86 "NIL")
(cl:export 'EILSEQ)
(sb-int:style-warn "Couldn't grovel for ERESTART (unknown to the C compiler).")
(cl:export 'ERESTART)
(sb-int:style-warn "Couldn't grovel for ESTRPIPE (unknown to the C compiler).")
(cl:export 'ESTRPIPE)
(cl:defconstant EUSERS 68 "NIL")
(cl:export 'EUSERS)
(cl:defconstant ENOTSOCK 38 "NIL")
(cl:export 'ENOTSOCK)
(cl:defconstant EDESTADDRREQ 39 "NIL")
(cl:export 'EDESTADDRREQ)
(cl:defconstant EMSGSIZE 40 "NIL")
(cl:export 'EMSGSIZE)
(cl:defconstant EPROTOTYPE 41 "NIL")
(cl:export 'EPROTOTYPE)
(cl:defconstant ENOPROTOOPT 42 "NIL")
(cl:export 'ENOPROTOOPT)
(cl:defconstant EPROTONOSUPPORT 43 "NIL")
(cl:export 'EPROTONOSUPPORT)
(cl:defconstant ESOCKTNOSUPPORT 44 "NIL")
(cl:export 'ESOCKTNOSUPPORT)
(cl:defconstant EOPNOTSUPP 45 "NIL")
(cl:export 'EOPNOTSUPP)
(cl:defconstant EPFNOSUPPORT 46 "NIL")
(cl:export 'EPFNOSUPPORT)
(cl:defconstant EAFNOSUPPORT 47 "NIL")
(cl:export 'EAFNOSUPPORT)
(cl:defconstant EADDRINUSE 48 "NIL")
(cl:export 'EADDRINUSE)
(cl:defconstant EADDRNOTAVAIL 49 "NIL")
(cl:export 'EADDRNOTAVAIL)
(cl:defconstant ENETDOWN 50 "NIL")
(cl:export 'ENETDOWN)
(cl:defconstant ENETUNREACH 51 "NIL")
(cl:export 'ENETUNREACH)
(cl:defconstant ENETRESET 52 "NIL")
(cl:export 'ENETRESET)
(cl:defconstant ECONNABORTED 53 "NIL")
(cl:export 'ECONNABORTED)
(cl:defconstant ECONNRESET 54 "NIL")
(cl:export 'ECONNRESET)
(cl:defconstant ENOBUFS 55 "NIL")
(cl:export 'ENOBUFS)
(cl:defconstant EISCONN 56 "NIL")
(cl:export 'EISCONN)
(cl:defconstant ENOTCONN 57 "NIL")
(cl:export 'ENOTCONN)
(cl:defconstant ESHUTDOWN 58 "NIL")
(cl:export 'ESHUTDOWN)
(cl:defconstant ETOOMANYREFS 59 "NIL")
(cl:export 'ETOOMANYREFS)
(cl:defconstant ETIMEDOUT 60 "NIL")
(cl:export 'ETIMEDOUT)
(cl:defconstant ECONNREFUSED 61 "NIL")
(cl:export 'ECONNREFUSED)
(cl:defconstant EHOSTDOWN 64 "NIL")
(cl:export 'EHOSTDOWN)
(cl:defconstant EHOSTUNREACH 65 "NIL")
(cl:export 'EHOSTUNREACH)
(cl:defconstant EALREADY 37 "NIL")
(cl:export 'EALREADY)
(cl:defconstant EINPROGRESS 36 "NIL")
(cl:export 'EINPROGRESS)
(cl:defconstant ESTALE 70 "NIL")
(cl:export 'ESTALE)
(sb-int:style-warn "Couldn't grovel for EUCLEAN (unknown to the C compiler).")
(cl:export 'EUCLEAN)
(sb-int:style-warn "Couldn't grovel for ENOTNAM (unknown to the C compiler).")
(cl:export 'ENOTNAM)
(sb-int:style-warn "Couldn't grovel for ENAVAIL (unknown to the C compiler).")
(cl:export 'ENAVAIL)
(sb-int:style-warn "Couldn't grovel for EREMOTEIO (unknown to the C compiler).")
(cl:export 'EREMOTEIO)
(cl:defconstant EDQUOT 69 "NIL")
(cl:export 'EDQUOT)
(sb-int:style-warn "Couldn't grovel for ENOMEDIUM (unknown to the C compiler).")
(cl:export 'ENOMEDIUM)
(sb-int:style-warn "Couldn't grovel for EMEDIUMTYPE (unknown to the C compiler).")
(cl:export 'EMEDIUMTYPE)
(cl:defconstant WNOHANG 1 "NIL")
(cl:defconstant WUNTRACED 2 "NIL")
(cl:eval-when (:compile-toplevel :load-toplevel :execute) (sb-alien:define-alien-type MODE-T (sb-alien:unsigned 16)))
(cl:defconstant S-ISUID 2048 "NIL")
(cl:export 'S-ISUID)
(cl:defconstant S-ISGID 1024 "NIL")
(cl:export 'S-ISGID)
(cl:defconstant S-ISVTX 512 "NIL")
(cl:export 'S-ISVTX)
(cl:defconstant S-IRUSR 256 "NIL")
(cl:export 'S-IRUSR)
(cl:defconstant S-IWUSR 128 "NIL")
(cl:export 'S-IWUSR)
(cl:defconstant S-IXUSR 64 "NIL")
(cl:export 'S-IXUSR)
(cl:defconstant S-IREAD 256 "NIL")
(cl:export 'S-IREAD)
(cl:defconstant S-IWRITE 128 "NIL")
(cl:export 'S-IWRITE)
(cl:defconstant S-IEXEC 64 "NIL")
(cl:export 'S-IEXEC)
(cl:defconstant S-IRGRP 32 "NIL")
(cl:export 'S-IRGRP)
(cl:defconstant S-IWGRP 16 "NIL")
(cl:export 'S-IWGRP)
(cl:defconstant S-IXGRP 8 "NIL")
(cl:export 'S-IXGRP)
(cl:defconstant S-IROTH 4 "NIL")
(cl:export 'S-IROTH)
(cl:defconstant S-IWOTH 2 "NIL")
(cl:export 'S-IWOTH)
(cl:defconstant S-IXOTH 1 "NIL")
(cl:export 'S-IXOTH)
(cl:defconstant R-OK 4 "NIL")
(cl:export 'R-OK)
(cl:defconstant W-OK 2 "NIL")
(cl:export 'W-OK)
(cl:defconstant X-OK 1 "NIL")
(cl:export 'X-OK)
(cl:defconstant F-OK 0 "NIL")
(cl:export 'F-OK)
(cl:eval-when (:compile-toplevel :load-toplevel :execute) (sb-alien:define-alien-type OFF-T (sb-alien:signed 64)))
(cl:defconstant PROT-NONE 0 "mmap: no protection")
(cl:export 'PROT-NONE)
(cl:defconstant PROT-READ 1 "mmap: read protection")
(cl:export 'PROT-READ)
(cl:defconstant PROT-WRITE 2 "mmap: write protection")
(cl:export 'PROT-WRITE)
(cl:defconstant PROT-EXEC 4 "mmap: execute protection")
(cl:export 'PROT-EXEC)
(cl:defconstant MAP-SHARED 1 "mmap: shared memory")
(cl:export 'MAP-SHARED)
(cl:defconstant MAP-PRIVATE 2 "mmap: private mapping")
(cl:export 'MAP-PRIVATE)
(cl:defconstant MAP-FIXED 16 "mmap: map at given location")
(cl:export 'MAP-FIXED)
(cl:defconstant MS-ASYNC 1 "msync: return immediately")
(cl:export 'MS-ASYNC)
(cl:defconstant MS-SYNC 0 "msync: perform synchronous writes")
(cl:export 'MS-SYNC)
(cl:defconstant MS-INVALIDATE 2 "msync: invalidate all cached data")
(cl:export 'MS-INVALIDATE)
(cl:eval-when (:compile-toplevel :load-toplevel :execute) (sb-grovel::define-c-struct DIRENT 264
 (NAME C-STRING "char *"
  8
  256)
))
(cl:eval-when (:compile-toplevel :load-toplevel :execute) (sb-grovel::define-c-struct ALIEN-PASSWD 80
 (NAME C-STRING-POINTER "char *"
  0
  8)
 (PASSWD C-STRING-POINTER "char *"
  8
  8)
 (UID UID-T "uid_t"
  16
  4)
 (GID GID-T "gid_t"
  20
  4)
 (GECOS C-STRING-POINTER "char *"
  40
  8)
 (DIR C-STRING-POINTER "char *"
  48
  8)
 (SHELL C-STRING-POINTER "char *"
  56
  8)
))
(cl:eval-when (:compile-toplevel :load-toplevel :execute) (sb-grovel::define-c-struct ALIEN-STAT 120
 (MODE MODE-T "mode_t"
  8
  2)
 (INO INO-T "ino_t"
  4
  4)
 (DEV DEV-T "dev_t"
  0
  4)
 (NLINK NLINK-T "nlink_t"
  10
  2)
 (UID UID-T "uid_t"
  12
  4)
 (GID GID-T "gid_t"
  16
  4)
 (SIZE OFF-T "off_t"
  72
  8)
 (ATIME TIME-T "time_t"
  24
  8)
 (MTIME TIME-T "time_t"
  40
  8)
 (CTIME TIME-T "time_t"
  56
  8)
))
(cl:defconstant O-RDONLY 0 "NIL")
(cl:export 'O-RDONLY)
(cl:defconstant O-WRONLY 1 "NIL")
(cl:export 'O-WRONLY)
(cl:defconstant O-RDWR 2 "NIL")
(cl:export 'O-RDWR)
(cl:defconstant O-CREAT 512 "NIL")
(cl:export 'O-CREAT)
(cl:defconstant O-EXCL 2048 "NIL")
(cl:export 'O-EXCL)
(cl:defconstant O-NOCTTY 32768 "NIL")
(cl:export 'O-NOCTTY)
(cl:defconstant O-TRUNC 1024 "NIL")
(cl:export 'O-TRUNC)
(cl:defconstant O-APPEND 8 "NIL")
(cl:export 'O-APPEND)
(cl:defconstant O-NONBLOCK 4 "NIL")
(cl:export 'O-NONBLOCK)
(cl:defconstant O-NDELAY 4 "NIL")
(cl:export 'O-NDELAY)
(cl:defconstant O-SYNC 128 "NIL")
(cl:export 'O-SYNC)
(cl:defconstant O-NOFOLLOW 256 "NIL")
(cl:export 'O-NOFOLLOW)
(sb-int:style-warn "Couldn't grovel for O_DIRECTORY (unknown to the C compiler).")
(cl:export 'O-DIRECTORY)
(cl:defconstant O-DIRECT 65536 "NIL")
(cl:export 'O-DIRECT)
(cl:defconstant O-ASYNC 64 "NIL")
(cl:export 'O-ASYNC)
(sb-int:style-warn "Couldn't grovel for O_LARGEFILE (unknown to the C compiler).")
(cl:export 'O-LARGEFILE)
(sb-int:style-warn "Couldn't grovel for O_DSYNC (unknown to the C compiler).")
(cl:export 'O-DSYNC)
(sb-int:style-warn "Couldn't grovel for O_RSYNC (unknown to the C compiler).")
(cl:export 'O-RSYNC)
(cl:defconstant SEEK-SET 0 "NIL")
(cl:export 'SEEK-SET)
(cl:defconstant SEEK-CUR 1 "NIL")
(cl:export 'SEEK-CUR)
(cl:defconstant SEEK-END 2 "NIL")
(cl:export 'SEEK-END)
(cl:defconstant F-DUPFD 0 "NIL")
(cl:export 'F-DUPFD)
(cl:defconstant F-GETFD 1 "NIL")
(cl:export 'F-GETFD)
(cl:defconstant F-SETFD 2 "NIL")
(cl:export 'F-SETFD)
(cl:defconstant F-GETFL 3 "NIL")
(cl:export 'F-GETFL)
(cl:defconstant F-SETFL 4 "NIL")
(cl:export 'F-SETFL)
(cl:defconstant F-GETLK 7 "NIL")
(cl:export 'F-GETLK)
(cl:defconstant F-SETLK 8 "NIL")
(cl:export 'F-SETLK)
(cl:defconstant F-SETLKW 9 "NIL")
(cl:export 'F-SETLKW)
(cl:defconstant F-GETOWN 5 "NIL")
(cl:export 'F-GETOWN)
(cl:defconstant F-SETOWN 6 "NIL")
(cl:export 'F-SETOWN)
(cl:eval-when (:compile-toplevel :load-toplevel :execute) (sb-alien:define-alien-type CC-T (sb-alien:unsigned 8)))
(cl:eval-when (:compile-toplevel :load-toplevel :execute) (sb-alien:define-alien-type SPEED-T (sb-alien:unsigned 32)))
(cl:export 'SPEED-T)
(cl:eval-when (:compile-toplevel :load-toplevel :execute) (sb-alien:define-alien-type TCFLAG-T (sb-alien:unsigned 32)))
(cl:export 'TCFLAG-T)
(cl:defconstant NCCS 20 "NIL")
(cl:export 'NCCS)
(cl:eval-when (:compile-toplevel :load-toplevel :execute) (sb-grovel::define-c-struct ALIEN-TERMIOS 44
 (IFLAG TCFLAG-T "tcflag_t"
  0
  4)
 (OFLAG TCFLAG-T "tcflag_t"
  4
  4)
 (CFLAG TCFLAG-T "tcflag_t"
  8
  4)
 (LFLAG TCFLAG-T "tcflag_t"
  12
  4)
 (CC (ARRAY CC-T) "cc_t"
  16
  20)
))
(cl:eval-when (:compile-toplevel :load-toplevel :execute) (sb-alien:define-alien-type SUSECONDS-T (sb-alien:signed 64)))
(cl:eval-when (:compile-toplevel :load-toplevel :execute) (sb-grovel::define-c-struct ALIEN-UTIMBUF 16
 (ACTIME TIME-T "time_t"
  0
  8)
 (MODTIME TIME-T "time_t"
  8
  8)
))
(cl:eval-when (:compile-toplevel :load-toplevel :execute) (sb-grovel::define-c-struct ALIEN-TIMEVAL 16
 (SEC TIME-T "time_t"
  0
  8)
 (USEC SUSECONDS-T "suseconds_t"
  8
  8)
))
(cl:defconstant VEOF 0 "NIL")
(cl:export 'VEOF)
(cl:defconstant VEOL 1 "NIL")
(cl:export 'VEOL)
(cl:defconstant VERASE 3 "NIL")
(cl:export 'VERASE)
(cl:defconstant VINTR 8 "NIL")
(cl:export 'VINTR)
(cl:defconstant VKILL 5 "NIL")
(cl:export 'VKILL)
(cl:defconstant VMIN 16 "NIL")
(cl:export 'VMIN)
(cl:defconstant VQUIT 9 "NIL")
(cl:export 'VQUIT)
(cl:defconstant VSTART 12 "NIL")
(cl:export 'VSTART)
(cl:defconstant VSTOP 13 "NIL")
(cl:export 'VSTOP)
(cl:defconstant VSUSP 10 "NIL")
(cl:export 'VSUSP)
(cl:defconstant VTIME 17 "NIL")
(cl:export 'VTIME)
(cl:defconstant BRKINT 2 "NIL")
(cl:export 'BRKINT)
(cl:defconstant ICRNL 256 "NIL")
(cl:export 'ICRNL)
(cl:defconstant IGNBRK 1 "NIL")
(cl:export 'IGNBRK)
(cl:defconstant IGNCR 128 "NIL")
(cl:export 'IGNCR)
(cl:defconstant IGNPAR 4 "NIL")
(cl:export 'IGNPAR)
(cl:defconstant INLCR 64 "NIL")
(cl:export 'INLCR)
(cl:defconstant INPCK 16 "NIL")
(cl:export 'INPCK)
(cl:defconstant ISTRIP 32 "NIL")
(cl:export 'ISTRIP)
(cl:defconstant IXOFF 1024 "NIL")
(cl:export 'IXOFF)
(cl:defconstant IXON 512 "NIL")
(cl:export 'IXON)
(cl:defconstant PARMRK 8 "NIL")
(cl:export 'PARMRK)
(cl:defconstant OPOST 1 "NIL")
(cl:export 'OPOST)
(cl:defconstant OCRNL 16 "NIL")
(cl:export 'OCRNL)
(cl:defconstant ONLRET 64 "NIL")
(cl:export 'ONLRET)
(sb-int:style-warn "Couldn't grovel for OFILL (unknown to the C compiler).")
(cl:export 'OFILL)
(sb-int:style-warn "Couldn't grovel for NLDLY (unknown to the C compiler).")
(cl:export 'NLDLY)
(sb-int:style-warn "Couldn't grovel for NL0 (unknown to the C compiler).")
(cl:export 'NL0)
(sb-int:style-warn "Couldn't grovel for NL1 (unknown to the C compiler).")
(cl:export 'NL1)
(sb-int:style-warn "Couldn't grovel for CRDLY (unknown to the C compiler).")
(cl:export 'CRDLY)
(sb-int:style-warn "Couldn't grovel for CR0 (unknown to the C compiler).")
(cl:export 'CR0)
(sb-int:style-warn "Couldn't grovel for CR1 (unknown to the C compiler).")
(cl:export 'CR1)
(sb-int:style-warn "Couldn't grovel for CR2 (unknown to the C compiler).")
(cl:export 'CR2)
(sb-int:style-warn "Couldn't grovel for CR3 (unknown to the C compiler).")
(cl:export 'CR3)
(sb-int:style-warn "Couldn't grovel for TABDLY (unknown to the C compiler).")
(cl:export 'TABDLY)
(sb-int:style-warn "Couldn't grovel for TAB0 (unknown to the C compiler).")
(cl:export 'TAB0)
(sb-int:style-warn "Couldn't grovel for TAB1 (unknown to the C compiler).")
(cl:export 'TAB1)
(sb-int:style-warn "Couldn't grovel for TAB2 (unknown to the C compiler).")
(cl:export 'TAB2)
(sb-int:style-warn "Couldn't grovel for TAB3 (unknown to the C compiler).")
(cl:export 'TAB3)
(sb-int:style-warn "Couldn't grovel for BSDLY (unknown to the C compiler).")
(cl:export 'BSDLY)
(sb-int:style-warn "Couldn't grovel for BS0 (unknown to the C compiler).")
(cl:export 'BS0)
(sb-int:style-warn "Couldn't grovel for BS1 (unknown to the C compiler).")
(cl:export 'BS1)
(sb-int:style-warn "Couldn't grovel for VTDLY (unknown to the C compiler).")
(cl:export 'VTDLY)
(sb-int:style-warn "Couldn't grovel for VT0 (unknown to the C compiler).")
(cl:export 'VT0)
(sb-int:style-warn "Couldn't grovel for VT1 (unknown to the C compiler).")
(cl:export 'VT1)
(sb-int:style-warn "Couldn't grovel for FFDLY (unknown to the C compiler).")
(cl:export 'FFDLY)
(sb-int:style-warn "Couldn't grovel for FF0 (unknown to the C compiler).")
(cl:export 'FF0)
(sb-int:style-warn "Couldn't grovel for FF1 (unknown to the C compiler).")
(cl:export 'FF1)
(cl:defconstant B0 0 "NIL")
(cl:export 'B0)
(cl:defconstant B50 50 "NIL")
(cl:export 'B50)
(cl:defconstant B75 75 "NIL")
(cl:export 'B75)
(cl:defconstant B110 110 "NIL")
(cl:export 'B110)
(cl:defconstant B134 134 "NIL")
(cl:export 'B134)
(cl:defconstant B150 150 "NIL")
(cl:export 'B150)
(cl:defconstant B200 200 "NIL")
(cl:export 'B200)
(cl:defconstant B300 300 "NIL")
(cl:export 'B300)
(cl:defconstant B600 600 "NIL")
(cl:export 'B600)
(cl:defconstant B1200 1200 "NIL")
(cl:export 'B1200)
(cl:defconstant B1800 1800 "NIL")
(cl:export 'B1800)
(cl:defconstant B2400 2400 "NIL")
(cl:export 'B2400)
(cl:defconstant B4800 4800 "NIL")
(cl:export 'B4800)
(cl:defconstant B9600 9600 "NIL")
(cl:export 'B9600)
(cl:defconstant B19200 19200 "NIL")
(cl:export 'B19200)
(cl:defconstant B38400 38400 "NIL")
(cl:export 'B38400)
(cl:defconstant B57600 57600 "NIL")
(cl:export 'B57600)
(cl:defconstant B115200 115200 "NIL")
(cl:export 'B115200)
(cl:defconstant B230400 230400 "NIL")
(cl:export 'B230400)
(cl:defconstant CSIZE 768 "NIL")
(cl:export 'CSIZE)
(cl:defconstant CS5 0 "NIL")
(cl:export 'CS5)
(cl:defconstant CS6 256 "NIL")
(cl:export 'CS6)
(cl:defconstant CS7 512 "NIL")
(cl:export 'CS7)
(cl:defconstant CS8 768 "NIL")
(cl:export 'CS8)
(cl:defconstant CSTOPB 1024 "NIL")
(cl:export 'CSTOPB)
(cl:defconstant CREAD 2048 "NIL")
(cl:export 'CREAD)
(cl:defconstant PARENB 4096 "NIL")
(cl:export 'PARENB)
(cl:defconstant PARODD 8192 "NIL")
(cl:export 'PARODD)
(cl:defconstant HUPCL 16384 "NIL")
(cl:export 'HUPCL)
(cl:defconstant CLOCAL 32768 "NIL")
(cl:export 'CLOCAL)
(cl:defconstant ECHO 8 "NIL")
(cl:export 'ECHO)
(cl:defconstant ECHOE 2 "NIL")
(cl:export 'ECHOE)
(cl:defconstant ECHOK 4 "NIL")
(cl:export 'ECHOK)
(cl:defconstant ECHONL 16 "NIL")
(cl:export 'ECHONL)
(cl:defconstant ICANON 256 "NIL")
(cl:export 'ICANON)
(cl:defconstant IEXTEN 1024 "NIL")
(cl:export 'IEXTEN)
(cl:defconstant ISIG 128 "NIL")
(cl:export 'ISIG)
(cl:defconstant NOFLSH -2147483648 "NIL")
(cl:export 'NOFLSH)
(cl:defconstant TOSTOP 4194304 "NIL")
(cl:export 'TOSTOP)
(cl:defconstant TCSANOW 0 "NIL")
(cl:export 'TCSANOW)
(cl:defconstant TCSADRAIN 1 "NIL")
(cl:export 'TCSADRAIN)
(cl:defconstant TCSAFLUSH 2 "NIL")
(cl:export 'TCSAFLUSH)
(cl:defconstant TCIFLUSH 1 "NIL")
(cl:export 'TCIFLUSH)
(cl:defconstant TCIOFLUSH 3 "NIL")
(cl:export 'TCIOFLUSH)
(cl:defconstant TCOFLUSH 2 "NIL")
(cl:export 'TCOFLUSH)
(cl:defconstant TCIOFF 3 "NIL")
(cl:export 'TCIOFF)
(cl:defconstant TCION 4 "NIL")
(cl:export 'TCION)
(cl:defconstant TCOOFF 1 "NIL")
(cl:export 'TCOOFF)
(cl:defconstant TCOON 2 "NIL")
(cl:export 'TCOON)
(cl:defconstant LOG-USER 8 "Default openlog() faclity.")
(cl:export 'LOG-USER)
(cl:defconstant LOG-LOCAL0 128 "Locally-defined openlog() facility")
(cl:export 'LOG-LOCAL0)
(cl:defconstant LOG-LOCAL1 136 "Locally-defined openlog() facility")
(cl:export 'LOG-LOCAL1)
(cl:defconstant LOG-LOCAL2 144 "Locally-defined openlog() facility")
(cl:export 'LOG-LOCAL2)
(cl:defconstant LOG-LOCAL3 152 "Locally-defined openlog() facility")
(cl:export 'LOG-LOCAL3)
(cl:defconstant LOG-LOCAL4 160 "Locally-defined openlog() facility")
(cl:export 'LOG-LOCAL4)
(cl:defconstant LOG-LOCAL5 168 "Locally-defined openlog() facility")
(cl:export 'LOG-LOCAL5)
(cl:defconstant LOG-LOCAL6 176 "Locally-defined openlog() facility")
(cl:export 'LOG-LOCAL6)
(cl:defconstant LOG-LOCAL7 184 "Locally-defined openlog() facility")
(cl:export 'LOG-LOCAL7)
(cl:defconstant LOG-AUTHPRIV 80 "openlog() facility for authorization messages")
(cl:export 'LOG-AUTHPRIV)
(cl:defconstant LOG-CRON 72 "openlog() facility for cron and at daemons")
(cl:export 'LOG-CRON)
(cl:defconstant LOG-DAEMON 24 "openlog() facility for arbitrary daemons")
(cl:export 'LOG-DAEMON)
(cl:defconstant LOG-FTP 88 "openlog() facility for FTP daemons")
(cl:export 'LOG-FTP)
(cl:defconstant LOG-KERN 0 "openlog() facility for kernel messages")
(cl:export 'LOG-KERN)
(cl:defconstant LOG-LPR 48 "openlog() facility for the printer subsystem")
(cl:export 'LOG-LPR)
(cl:defconstant LOG-MAIL 16 "openlog() facility for the mail subsystem")
(cl:export 'LOG-MAIL)
(cl:defconstant LOG-NEWS 56 "openlog() facility for the usenet subsystem")
(cl:export 'LOG-NEWS)
(cl:defconstant LOG-SYSLOG 40 "openlog() facility for the syslog subsystem")
(cl:export 'LOG-SYSLOG)
(cl:defconstant LOG-UUCP 64 "openlog() facility for the UUCP subsystem")
(cl:export 'LOG-UUCP)
(cl:defconstant LOG-PID 1 "If supplied to openlog(), log the process ID with each message")
(cl:export 'LOG-PID)
(cl:defconstant LOG-CONS 2 "If supplied to openlog(), log to the system console as well as logfiles")
(cl:export 'LOG-CONS)
(cl:defconstant LOG-NDELAY 8 "If supplied to openlog(), immediately open the syslog connection.")
(cl:export 'LOG-NDELAY)
(cl:defconstant LOG-ODELAY 4 "If supplied to openlog(), delay opening the syslog connection to the first syslog() call.")
(cl:export 'LOG-ODELAY)
(cl:defconstant LOG-NOWAIT 16 "If supplied to openlog(), do not wait for child processes created by calls to syslog().")
(cl:export 'LOG-NOWAIT)
(cl:defconstant LOG-PERROR 32 "If supplied to openlog(), write log messages to the process's standard error descriptor in addition to the logging facility.")
(cl:export 'LOG-PERROR)
(cl:defconstant LOG-EMERG 0 "Log severity level denoting a panic.")
(cl:export 'LOG-EMERG)
(cl:defconstant LOG-ALERT 1 "Log severity level denoting a condition that should be corrected immediately.")
(cl:export 'LOG-ALERT)
(cl:defconstant LOG-CRIT 2 "Log severity level denoting critical conditions.")
(cl:export 'LOG-CRIT)
(cl:defconstant LOG-ERR 3 "Log severity level denoting an error.")
(cl:export 'LOG-ERR)
(cl:defconstant LOG-WARNING 4 "Log severity level denoting a warning.")
(cl:export 'LOG-WARNING)
(cl:defconstant LOG-NOTICE 5 "Log severity level denoting non-errors that may require special handling.")
(cl:export 'LOG-NOTICE)
(cl:defconstant LOG-INFO 6 "Log severity level denoting informational messages.")
(cl:export 'LOG-INFO)
(cl:defconstant LOG-DEBUG 7 "Log severity level denoting debugging information .")
(cl:export 'LOG-DEBUG)
