Don't grovel lfp_open_flags_t any more, as it was removed from libfixposix
[iolib.git] / src / libfixposix / pkgdcl.lisp
blobef02d10a7477b80cc87757ecfea7f806faf702c8
1 ;;;; -*- Mode: Lisp; indent-tabs-mode: nil -*-
2 ;;;
3 ;;; --- Package definition.
4 ;;;
6 (in-package :common-lisp-user)
8 (defpackage :libfixposix
9 (:nicknames :lfp)
10 (:use :common-lisp :alexandria :cffi)
11 (:shadow #:open #:close #:read #:write #:listen
12 #:truncate #:ftruncate #:time)
13 (:export
15 ;;;----------------------------------------------------------------------
16 ;;; C Types
17 ;;;----------------------------------------------------------------------
19 ;; Primitive type sizes
20 #:size-of-char
21 #:size-of-short
22 #:size-of-int
23 #:size-of-long
24 #:size-of-long-long
25 #:size-of-pointer
27 ;; POSIX Types
28 #:bool #:size-of-bool
29 #:size-t #:size-of-size-t
30 #:ssize-t #:size-of-ssize-t
31 #:off-t #:size-of-off-t
32 #:time-t #:size-of-time-t
33 #:suseconds-t #:size-of-suseconds-t
35 ;; LibFixPOSIX types
37 ;;;----------------------------------------------------------------------
38 ;;; Struct definitions, slots and accessors
39 ;;;----------------------------------------------------------------------
41 ;; timeval
42 #:timeval #:size-of-timeval
43 #:sec #:usec
45 ;; fd-set
46 #:fd-set #:size-of-fd-set
49 ;;;----------------------------------------------------------------------
50 ;;; C Constants
51 ;;;----------------------------------------------------------------------
53 ;; errno.h
54 #:errno-values
55 #:e2big #:eacces #:eaddrinuse #:eaddrnotavail
56 #:eafnosupport #:ealready #:ebadf #:ebadmsg #:ebusy #:ecanceled
57 #:echild #:econnaborted #:econnrefused #:econnreset #:edeadlk
58 #:edestaddrreq #:edom #:edquot #:eexist #:efault #:efbig #:ehostdown
59 #:ehostunreach #:eidrm #:eilseq #:einprogress #:eintr #:einval #:eio
60 #:eisconn #:eisdir #:eloop #:emfile #:emlink #:emsgsize #:emultihop
61 #:enametoolong #:enetdown #:enetreset #:enetunreach #:enfile
62 #:enobufs #:enodata #:enodev #:enoent #:enoexec #:enolck #:enolink
63 #:enomem #:enomsg #:enonet #:enoprotoopt #:enospc #:enosr #:enostr
64 #:enosys #:enotconn #:enotdir #:enotempty #:enotsock #:enotsup #:enotty
65 #:enxio #:eopnotsupp #:eoverflow #:eperm #:epipe #:eproto
66 #:eprotonosupport #:eprototype #:erange #:erofs #:eshutdown #:espipe
67 #:esrch #:estale #:etime #:etimedout #:etxtbsy #:ewouldblock #:exdev
68 #:ebug
70 ;; Select()
71 #:fd-setsize
73 ;; Waitpid()
74 #:wnohang
75 #:wuntraced
76 #:wcontinued
79 ;;;----------------------------------------------------------------------
80 ;;; Syscalls
81 ;;;----------------------------------------------------------------------
83 ;; Errno-related functions
84 #:errno
85 #:strerror
87 ;; Memory manipulation functions
88 #:memset
89 #:bzero
90 #:memcpy
91 #:memmove
93 ;; I/O Polling
94 #:select
95 #:copy-fd-set
96 #:fd-clr
97 #:fd-isset
98 #:fd-set
99 #:fd-zero
101 ;; Signals
102 #:wifexited
103 #:wexitstatus
104 #:wifsignaled
105 #:wtermsig
106 #:wcoredump
107 #:wifstopped
108 #:wstopsig
109 #:wifcontinued
111 ;; CMSG readers
112 #:cmsg.firsthdr
113 #:cmsg.nxthdr
114 #:cmsg.align
115 #:cmsg.space
116 #:cmsg.len
117 #:cmsg.data