X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=contrib%2Fsb-posix%2Fconstants.lisp;h=69b3ea4137e57428b5a33531b763872882a4770e;hb=2675adcb29d689ee6d270f52658af17f2deeaf77;hp=052a734e4ebc273f84a1099e0174525e3401a571;hpb=f51d3fd40bb44b518299f0ae626583a6899f7af2;p=sbcl.git diff --git a/contrib/sb-posix/constants.lisp b/contrib/sb-posix/constants.lisp index 052a734..69b3ea4 100644 --- a/contrib/sb-posix/constants.lisp +++ b/contrib/sb-posix/constants.lisp @@ -22,39 +22,46 @@ (:type pid-t "pid_t") ;; signals - (:integer SIGHUP "SIGHUP" "terminal line hangup.") - (:integer SIGINT "SIGINT" "interrupt program.") - (:integer SIGQUIT "SIGQUIT" "quit program.") - (:integer SIGILL "SIGILL" "illegal instruction.") - (:integer SIGTRAP "SIGTRAP" "trace trap.") - (:integer SIGABRT "SIGABRT" "abort program (formerly SIGIOT).") - (:integer SIGEMT "SIGEMT" "emulate instruction executed.") - (:integer SIGFPE "SIGFPE" "floating-point exception.") - (:integer SIGKILL "SIGKILL" "kill program.") - (:integer SIGBUS "SIGBUS" "bus error.") - (:integer SIGSEGV "SIGSEGV" "segmentation violation.") - (:integer SIGSYS "SIGSYS" "non-existent system call invoked.") - (:integer SIGPIPE "SIGPIPE" "write on a pipe with no reader.") - (:integer SIGALRM "SIGALRM" "real-time timer expired.") - (:integer SIGTERM "SIGTERM" "software termination signal.") - (:integer SIGURG "SIGURG" "urgent condition present on socket.") - (:integer SIGSTOP "SIGSTOP" "stop (cannot be caught or ignored).") - (:integer SIGTSTP "SIGTSTP" "stop signal generated from keyboard.") - (:integer SIGCONT "SIGCONT" "continue after stop.") - (:integer SIGCHLD "SIGCHLD" "child status has changed.") - (:integer SIGTTIN "SIGTTIN" "background read attempted from control terminal.") - (:integer SIGTTOU "SIGTTOU" "background write attempted to control terminal.") - (:integer SIGIO "SIGIO" "I/O is possible on a descriptor (see fcntl(2)).") - (:integer SIGXCPU "SIGXCPU" "cpu time limit exceeded (see setrlimit(2)).") - (:integer SIGXFSZ "SIGXFSZ" "file size limit exceeded (see setrlimit(2)).") - (:integer SIGVTALRM "SIGVTALRM" "virtual time alarm (see setitimer(2)).") - (:integer SIGPROF "SIGPROF" "profiling timer alarm (see setitimer(2)).") - (:integer SIGWINCH "SIGWINCH" "Window size change.") - (:integer SIGINFO "SIGINFO" "status request from keyboard.") - (:integer SIGUSR1 "SIGUSR1" "User defined signal 1.") - (:integer SIGUSR2 "SIGUSR2" "User defined signal 2.") - (:integer SIGRTMIN "SIGRTMIN" "Smallest real-time signal number.") - (:integer SIGRTMAX "SIGRTMAX" "Largest real-time signal number.") + (:integer SIGHUP "SIGHUP" #+sb-doc "terminal line hangup.") + (:integer SIGINT "SIGINT" #+sb-doc "interrupt program.") + (:integer SIGQUIT "SIGQUIT" #+sb-doc "quit program.") + (:integer SIGILL "SIGILL" #+sb-doc "illegal instruction.") + (:integer SIGTRAP "SIGTRAP" #+sb-doc "trace trap.") + (:integer SIGABRT "SIGABRT" #+sb-doc "abort program (formerly SIGIOT).") + (:integer SIGEMT "SIGEMT" #+sb-doc "emulate instruction executed.") + (:integer SIGFPE "SIGFPE" #+sb-doc "floating-point exception.") + (:integer SIGKILL "SIGKILL" #+sb-doc "kill program.") + (:integer SIGBUS "SIGBUS" #+sb-doc "bus error.") + (:integer SIGSEGV "SIGSEGV" #+sb-doc "segmentation violation.") + (:integer SIGSYS "SIGSYS" #+sb-doc "non-existent system call invoked.") + (:integer SIGPIPE "SIGPIPE" #+sb-doc "write on a pipe with no reader.") + (:integer SIGALRM "SIGALRM" #+sb-doc "real-time timer expired.") + (:integer SIGTERM "SIGTERM" #+sb-doc "software termination signal.") + (:integer SIGURG "SIGURG" #+sb-doc "urgent condition present on socket.") + (:integer SIGSTOP "SIGSTOP" #+sb-doc "stop (cannot be caught or ignored).") + (:integer SIGTSTP "SIGTSTP" #+sb-doc "stop signal generated from keyboard.") + (:integer SIGCONT "SIGCONT" #+sb-doc "continue after stop.") + (:integer SIGCHLD "SIGCHLD" #+sb-doc "child status has changed.") + (:integer SIGTTIN "SIGTTIN" + #+sb-doc "background read attempted from control terminal.") + (:integer SIGTTOU "SIGTTOU" + #+sb-doc "background write attempted to control terminal.") + (:integer SIGIO "SIGIO" + #+sb-doc "I/O is possible on a descriptor (see fcntl(2)).") + (:integer SIGXCPU "SIGXCPU" + #+sb-doc "cpu time limit exceeded (see setrlimit(2)).") + (:integer SIGXFSZ "SIGXFSZ" + #+sb-doc "file size limit exceeded (see setrlimit(2)).") + (:integer SIGVTALRM "SIGVTALRM" + #+sb-doc "virtual time alarm (see setitimer(2)).") + (:integer SIGPROF "SIGPROF" + #+sb-doc "profiling timer alarm (see setitimer(2)).") + (:integer SIGWINCH "SIGWINCH" #+sb-doc "Window size change.") + (:integer SIGINFO "SIGINFO" #+sb-doc "status request from keyboard.") + (:integer SIGUSR1 "SIGUSR1" #+sb-doc "User defined signal 1.") + (:integer SIGUSR2 "SIGUSR2" #+sb-doc "User defined signal 2.") + (:integer SIGRTMIN "SIGRTMIN" #+sb-doc "Smallest real-time signal number.") + (:integer SIGRTMAX "SIGRTMAX" #+sb-doc "Largest real-time signal number.") ;; mode_t (:type mode-t "mode_t") @@ -82,17 +89,23 @@ ;; mmap() (:type off-t "off_t") - (:integer prot-none "PROT_NONE" "mmap: no protection") - (:integer prot-read "PROT_READ" "mmap: read protection") - (:integer prot-write "PROT_WRITE" "mmap: write protection") - (:integer prot-exec "PROT_EXEC" "mmap: execute protection") - (:integer map-shared "MAP_SHARED" "mmap: shared memory") - (:integer map-private "MAP_PRIVATE" "mmap: private mapping") - (:integer map-fixed "MAP_FIXED" "mmap: map at given location") + (:integer prot-none "PROT_NONE" #+sb-doc "mmap: no protection") + (:integer prot-read "PROT_READ" #+sb-doc "mmap: read protection") + (:integer prot-write "PROT_WRITE" #+sb-doc "mmap: write protection") + (:integer prot-exec "PROT_EXEC" #+sb-doc "mmap: execute protection") + (:integer map-shared "MAP_SHARED" #+sb-doc "mmap: shared memory") + (:integer map-private "MAP_PRIVATE" #+sb-doc "mmap: private mapping") + (:integer map-fixed "MAP_FIXED" #+sb-doc "mmap: map at given location") + + ;; msync() + (:integer ms-async "MS_ASYNC" #+sb-doc "msync: return immediately") + (:integer ms-sync "MS_SYNC" #+sb-doc "msync: perform synchronous writes") + (:integer ms-invalidate "MS_INVALIDATE" + #+sb-doc "msync: invalidate all cached data") ;; opendir() (:structure dirent ("struct dirent" (:c-string name "char *" "d_name" - :distrust-length #+solaris t #-solaris nil))) + :distrust-length #+sunos t #-sunos nil))) )