describe: show the same information about functions for 'x and #'x.
[sbcl.git] / contrib / sb-posix / TODO
1 1) optional arguments (e.g. OPEN)
2
3 3) partial list of section 2 manpages from Debian Linux box: functions
4 we may want to consider interfaces for.  Some of the obviously
5 unnecessary/dangerous functions have been deleted from this list, as
6 have the ones we've already got bindings for, but even so, inclusion
7 in this list does _not_ imply we've definitely decided something needs
8 adding.
9
10 FD_CLR FD_ISSET FD_SET FD_ZERO accept acct adjtime adjtimex bdflush
11 bind break brk cacheflush capget capset clone connect create_module
12 delete_module execve exit flock fstatfs ftime getcontext getdents
13 getdomainname getdtablesize getgroups gethostid gethostname getitimer
14 getpeername getpriority getrlimit getrusage getsockname getsockopt
15 gettimeofday gtty idle init_module ioctl_list ioperm iopl listen
16 llseek lock madvise mincore mknod mlock modify_ldt mount mprotect mpx
17 mremap msgctl msgget msgop msgrcv msgsnd munlock nanosleep nice pause
18 poll prctl pread prof profil pselect ptrace pwrite query_module
19 quotactl readv reboot recv recvfrom recvmsg sbrk
20 sched_get_priority_max sched_get_priority_min sched_getparam
21 sched_getscheduler sched_rr_get_interval sched_setparam
22 sched_setscheduler sched_yield select semctl semget semop send
23 sendfile sendmsg sendto setcontext setdomainname setgroups sethostid
24 sethostname setitimer setpriority setrlimit setsockopt settimeofday
25 sgetmask shmat shmctl shmdt shmget shmop shutdown sigaction
26 sigaltstack sigblock siggetmask sigmask signal sigpause sigpending
27 sigprocmask sigreturn sigsetmask sigsuspend sigvec socket socketcall
28 socketpair ssetmask statfs stime stty swapoff swapon syscalls sysctl
29 sysfs sysinfo times ulimit umount uname ustat vfork vhangup wait3
30 wait4 writev
31
32 4) In the spec but not implemented:
33
34 - buffers
35
36 5) fill out TODO/TBD stuff in the spec
37
38 6) sort out exports.  All interface functions, all constants, all
39   type coercion functions
40
41 7) variable-length functions > like execvp()? Do they take a list, or
42 vector or either? "Either" sounds good. Which is to say, a sequence.
43
44 8) In some cases, errno is used for "normal" exit, not just for
45 exceptional exit. For example, EINTR, EAGAIN, reading or writing big
46 buffers, etc... It may be more efficient to just compare two integers
47 than going thru an exception mechanism that will be invoked everytime.
48
49 9) proper alien definitions of structures [ possibly an sb-grovel
50 problem, but the way we define calls exposes the problem -- see
51 readdir() ] [ isn't this done? ]
52
53 10) some functions (e.g. fdatasync, putenv) have a return value which
54 is purely an error indicator.  Currently we're returning the 0 on
55 success, but maybe it would make more sense for them to return
56 (values).