Mark ENOLINK and EMULTIHOP as optional
[iolib.git] / src / os / pkgdcl.lisp
blobe6df440ccb1ac0f666e4f00b8e1d644348ccad01
1 ;;;; -*- Mode: Lisp; indent-tabs-mode: nil -*-
2 ;;;
3 ;;; --- Package definition.
4 ;;;
6 (in-package :iolib/common-lisp-user)
8 (defpackage :iolib/os
9 (:nicknames :iolib.os)
10 (:use :iolib/base :iolib/pathnames :cffi)
11 (:import-from :iolib/syscalls
12 #:defsyscall #:sstring
13 #:mode-t #:pid-t #:uid-t #:gid-t
14 #:get-monotonic-time)
15 (:import-from :iolib/pathnames #:split-root/nodes)
16 (:export
18 ;; Evironment
19 #:environment
20 #:environment-variable
21 #:makunbound-environment-variable
22 #:clear-environment
24 ;; Processes
25 #:process
26 #:process-pid
27 #:process-pty
28 #:process-stdin
29 #:process-stdout
30 #:process-stderr
31 #:process-status
32 #:create-process
33 #:run-program
34 #:process-activep
35 #:process-kill
36 #:+stdin+
37 #:+stdout+
38 #:+stderr+
40 ;; Directories
41 #:current-directory
42 #:with-current-directory
43 #:delete-files
44 #:directory-exists-p
45 #:list-directory
46 #:mapdir
47 #:walk-directory
48 #:with-directory-iterator
50 ;; Files
51 #:absolute-file-path
52 #:resolve-file-path
53 #:file-exists-p
54 #:good-symlink-exists-p
55 #:regular-file-exists-p
56 #:file-kind
58 ;; Symlinks
59 #:read-symlink
60 #:make-symlink
61 #:make-hardlink
63 ;; Permissions
64 #:file-permissions
66 ;; Temporary files
67 ;; #:open-temporary-file
68 ;; #:with-temporary-file
70 ;; Password entries
71 #:user-info
73 ;; Time
74 #:get-monotonic-time
76 ;; Specials
77 #:*temporary-directory*