Raymond Toy pushed to branch rtoy-unix-core at cmucl / cmucl
Commits:
-
d76358f8
by Raymond Toy
at 2015-05-08T18:35:30Z
Split the UNIX exports into linux and non-linux parts.
For the non-linux part, add all of the other symbols that are
currently exported from the UNIX package.
1 changed file:
Changes:
src/code/exports.lisp
--- a/src/code/exports.lisp
+++ b/src/code/exports.lisp
@@ -196,6 +196,469 @@
"NEGATE-BIGNUM" "SUBTRACT-BIGNUM"))
(defpackage "UNIX"
+ #-linux
+ (:export "UNIX-CURRENT-DIRECTORY"
+ "UNIX-OPEN"
+ "UNIX-READ"
+ "UNIX-WRITE"
+ "UNIX-GETPAGESIZE"
+ "UNIX-ERRNO"
+ "UNIX-MAYBE-PREPEND-CURRENT-DIRECTORY"
+ "UNIX-RESOLVE-LINKS"
+ "UNIX-SIMPLIFY-PATHNAME"
+ "UNIX-CLOSE"
+ "UNIX-STAT"
+ "UNIX-LSTAT"
+ "UNIX-FSTAT"
+ "UNIX-GETHOSTNAME"
+ "UNIX-LSEEK"
+ "UNIX-EXIT"
+ "UNIX-CHDIR"
+ "UNIX-ACCESS"
+ "UNIX-DUP"
+ "UNIX-CHMOD"
+ "UNIX-READLINK"
+ "UNIX-RENAME"
+ "UNIX-SELECT"
+ "UNIX-FAST-GETRUSAGE"
+ "UNIX-GETRUSAGE"
+ "UNIX-GETTIMEOFDAY"
+ "UNIX-ISATTY"
+ "UNIX-MKDIR"
+ "UNIX-RMDIR"
+ "UNIX-UNLINK"
+ "TIMEZONE"
+ "TIMEVAL"
+ "SIZE-T"
+ "OFF-T"
+ "INO-T"
+ "DEV-T"
+ "TIME-T"
+ "TIME-T"
+ "USER-INFO-NAME"
+ "INT64-T"
+ "MODE-T"
+ "UNIX-FAST-SELECT"
+ "UNIX-PIPE"
+ "UNIX-GETPID"
+ "UNIX-GETHOSTID"
+ "UNIX-UID"
+ "UNIX-GID"
+ "GET-UNIX-ERROR-MSG"
+ "TCHARS"
+ "WINSIZE"
+ "LTCHARS"
+ "TIMEVAL"
+ "CLOSE-DIR"
+ "OPEN-DIR"
+ "READ-DIR"
+ "D-NAMLEN"
+
+ ;; filesys.lisp
+ "UNIX-GETPWUID"
+
+ ;; multi-proc.lisp
+ "UNIX-SETITIMER"
+
+ ;; run-program.lisp
+ "SGTTYB"
+ "UNIX-TTYNAME"
+ "UNIX-IOCTL"
+ "UNIX-OPENPTY"
+
+ ;; alien-callback.lisp
+ "UNIX-MPROTECT"
+
+ ;; internet.lisp
+ "UNIX-SOCKET"
+ "UNIX-CONNECT"
+ "UNIX-BIND"
+ "UNIX-LISTEN"
+ "UNIX-ACCEPT"
+ "UNIX-GETSOCKOPT"
+ "UNIX-SETSOCKOPT"
+ "UNIX-GETPEERNAME"
+ "UNIX-GETSOCKNAME"
+ "UNIX-RECV"
+ "UNIX-SEND"
+ "UNIX-RECVFROM"
+ "UNIX-SENDTO"
+ "UNIX-SHUTDOWN"
+ "UNIX-FCNTL"
+
+ ;; serve-event.lisp
+ "FD-SETSIZE"
+ "FD-ISSET"
+ "FD-CLR"
+
+ ;; Simple streams
+ "PROT_READ"
+ "UNIX-MMAP"
+ "UNIX-MUNMAP"
+ "UNIX-MSYNC"
+
+ ;; Motif
+ "UNIX-GETUIO"
+
+ ;; Hemlock
+ "TERMIOS"
+ "UNIX-TCGETATTR"
+ "UNIX-TCSETATTR"
+ "UNIX-CFGETOSPEED"
+ "UNIX-FCHMOD"
+ "UNIX-CREAT"
+ "UNIX-UTIMES"
+
+ ;; Tests
+ "UNIX-SYMLINK"
+
+ ;; Other symbols from structures, etc.
+ "C-CC"
+ "C-CFLAG"
+ "C-IFLAG"
+ "C-ISPEED"
+ "C-LFLAG"
+ "C-OFLAG"
+ "C-OSPEED"
+ "CHECK"
+ "D-NAME"
+ "D-RECLEN"
+ "DIRECT"
+ "E2BIG"
+ "EACCES"
+ "EADDRINUSE"
+ "EADDRNOTAVAIL"
+ "EAFNOSUPPORT"
+ "EAGAIN"
+ "EALREADY"
+ "EBADF"
+ "EBUSY"
+ "EC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
"UNIX-SYMLINK"
))
+
(defpackage "FORMAT")