Use more syscalls from LibFixPOSIX
[iolib.git] / src / os / pkgdcl.lisp
blob65b36b573ce9f254a8d49192483270732170a0fc
1 ;;;; -*- Mode: Lisp; indent-tabs-mode: nil -*-
2 ;;;
3 ;;; --- Package definition.
4 ;;;
6 (in-package :common-lisp-user)
8 (defpackage :iolib.os
9 (:use :iolib.base :iolib.pathnames :cffi)
10 (:import-from :iolib.syscalls #:defsyscall
11 #:mode-t #:size-of-mode-t #:pid-t #:size-of-pid-t)
12 (:import-from :iolib.pathnames #:split-root/nodes)
13 (:export
15 ;; Evironment
16 #:environment
17 #:environment-variable
18 #:makunbound-environment-variable
19 #:clear-environment
21 ;; Processes
22 #:process
23 #:process-pid
24 #:process-stdin
25 #:process-stdout
26 #:process-stderr
27 #:create-process
28 #:run-program
29 #:process-wait
30 #:process-kill
32 ;; Directories
33 #:current-directory
34 #:with-current-directory
35 #:delete-files
36 #:directory-exists-p
37 #:list-directory
38 #:mapdir
39 #:walk-directory
40 #:with-directory-iterator
42 ;; Files
43 #:absolute-file-path
44 #:resolve-file-path
45 #:file-exists-p
46 #:good-symlink-exists-p
47 #:regular-file-exists-p
48 #:file-kind
50 ;; Symlinks
51 #:read-symlink
52 #:make-symlink
53 #:make-hardlink
55 ;; Permissions
56 #:file-permissions
58 ;; Temporary files
59 ;; #:open-temporary-file
60 ;; #:with-temporary-file
62 ;; Password entries
63 #:user-info
65 ;; Time
66 #:get-monotonic-time
68 ;; Specials
69 #:*temporary-directory*