In the last Online Developer Meeting, we briefly discussed moving POSIX functions out of core Octave and into a separate package. Is there any objection to doing that?
Whatever we decide about moving them out of core Octave, it might be useful to more them into a
Here is a list of functions to consider (they might not all strictly be POSIX functions, but they are low-level OS functions that I don’t think are part of core Matlab). We use the ones marked with
* in core Octave (28 out of 79 total functions). Are there others I’ve missed?
F_DUPFD S_ISCHR WUNTRACED gethostname mktime* F_GETFD S_ISDIR* __fnmatch__ getpgrp pipe* F_GETFL S_ISFIFO __wglob__* getpid* popen2* F_SETFD S_ISLNK* canonicalize_file_name* getppid readdir* F_SETFL S_ISREG* dup2 getpwent readlink O_APPEND S_ISSOCK endgrent getpwnam setgrent O_ASYNC WCONTINUE endpwent getpwuid* setpwent O_CREAT WCOREDUMP exec* getrusage* stat* O_EXCL WEXITSTATUS fcntl getuid* strftime* O_NONBLOCK WIFCONTINUED fork glob* strptime* O_RDONLY WIFEXITED getegid gmtime* symlink O_RDWR WIFSIGNALED geteuid* kill time* O_SYNC WIFSTOPPED getgid link* uname* O_TRUNC WNOHANG getgrent localtime* unlink* O_WRONLY WSTOPSIG getgrgid lstat* waitpid* S_ISBLK WTERMSIG getgrnam mkfifo*