tholm@uvicctr.UUCP (Terrence W. Holm) (07/08/88)
EFTH Minix report #26 - July 1988 - intro.3 While I was in my library (libc), I decided that we should start to think about the MINIX v1.4 standard. So, the following list is a start (its aprox. what I have). When people want a break from using fix(1), they might like to glance over this list and then tell me (email) what should and should not be in MINIX 1.4. Tell me what MUST be in MINIX: eg. profil()?, outp()? Tell me what MUST be eliminated: eg. std_err()? Tell me what standard we require: eg. X/OPEN, POSIX, Sys5, V7, bsd4.3, AIX, MINIX 1.1, OS/2, TurboC, MVS, ... [Please don't tell me which routines you are missing. (I can make a pretty good guess about that. :-) Most of the following are either in MINIX v1.3, or have been posted by others or are in the public domain. When I test and document something which is not in MINIX, I will post it.] -------------------------------------------------------------------- SUBROUTINES intro(3) - available subroutines EXPLANATION There are close to 200 routines available to application programs written in C. Some routines directly invoke a function in the MINIX operating system, these are called "system calls" and are documented in section 2 of the manual. The "subroutines" in section 3 may rely on the presence of the "system calls", but do not directly call the system themselves. Note that some are simply "#define" macros. The following list contains all of the routines available. Each one is described in either "man" section 2 or 3. Some of the functions are grouped into one "man" page, this is noted by a name preceding the number below, eg. stdio(3). The routines which are based on the IEEE Std 1003.1 Trial-Use Standard are marked: routine man section standard ======= =========== ======== abort (3) POSIX abs (3) POSIX access (2) POSIX alarm (2) POSIX asctime ctime(3) POSIX assert (3) POSIX atoi (3) POSIX atol (3) POSIX bcopy (3) brk (2) bsearch (3) POSIX calloc malloc(3) POSIX chdir (2) POSIX chmod (2) POSIX chown (2) POSIX chroot (2) clearerr stdio(3) POSIX close (2) POSIX closedir directory(3) POSIX creat (2) POSIX crypt (3) POSIX ctermid (3) POSIX ctime (3) POSIX cuserid (3) POSIX dup (2) POSIX dup2 (2) POSIX endgrent getgrent(3) POSIX endpwent getpwent(3) POSIX execl (3) POSIX execle execl(3) POSIX execlp execl(3) POSIX execn execl(3) execv execl(3) POSIX execve (2) POSIX execvp execl(3) POSIX exit (3) POSIX _exit (2) POSIX fclose (3) POSIX fcntl (3) POSIX fdopen (3) POSIX feof stdio(3) POSIX ferror stdio(3) POSIX fflush (3) POSIX fgetc stdio(3) POSIX fgets (3) POSIX fileno stdio(3) POSIX fopen (3) POSIX fork (2) POSIX fprintf (3) POSIX fputc stdio(3) POSIX fputs (3) POSIX fread (3) POSIX free malloc(3) POSIX freopen (3) POSIX fscanf (3) POSIX fseek (3) POSIX fstat (2) POSIX ftell (3) POSIX fwrite (3) POSIX getc (3) POSIX getchar stdio(3) POSIX getcwd (3) POSIX getdents (3) getegid (2) POSIX getenv (3) POSIX geteuid (2) POSIX getgid (2) POSIX getgrent (3) POSIX getgrgid getgrent(3) POSIX getgrnam getgrent(3) POSIX gethostname (3) getlogin (3) POSIX getopt (3) getpass (3) POSIX getpgrp (2) POSIX getpid (2) POSIX getppid (2) POSIX getpwent (3) POSIX getpwnam getpwent(3) POSIX getpwuid getpwent(3) POSIX gets (3) POSIX getuid (2) POSIX gmtime ctime(3) POSIX gtty (3) index string(3) ioctl (2) isalnum ctype(3) POSIX isalpha ctype(3) POSIX isascii ctype(3) isatty (2) POSIX iscntrl ctype(3) POSIX isdigit ctype(3) POSIX isgraph ctype(3) POSIX islower ctype(3) POSIX isprint ctype(3) POSIX ispunct ctype(3) POSIX isspace ctype(3) POSIX isupper ctype(3) POSIX isxdigit ctype(3) POSIX itoa (3) kill (2) POSIX link (2) POSIX localtime ctime(3) POSIX longjmp (3) POSIX lseek (2) POSIX malloc (3) POSIX mkdir (3) POSIX mknod (2) mktemp (3) mount (2) noperprintf stdio(3) open (2) POSIX opendir directory(3) POSIX pause (2) POSIX pclose (3) perprintf stdio(3) perror (3) POSIX pipe (2) POSIX popen (3) printf (3) POSIX prints (3) putc (3) POSIX putchar stdio(3) POSIX putenv (3) puts (3) POSIX qsort (3) POSIX rand (3) POSIX read (2) POSIX readdir directory(3) POSIX realloc malloc(3) POSIX regcomp (3) regexec (3) regsub (3) remove (3) POSIX rename (3) POSIX rewind (3) POSIX rewinddir directory(3) POSIX rindex string(3) rmdir (3) POSIX scanf (3) POSIX seekdir directory(3) setbuf (3) POSIX setgid (2) POSIX setgrent getgrent(3) POSIX sethostname (3) setjmp (3) POSIX setpgrp (2) POSIX setpwent getpwent(3) POSIX setuid (2) POSIX signal (2) POSIX sleep (3) POSIX sprintf (3) POSIX srand (3) POSIX sscanf (3) POSIX stat (2) POSIX std_err (3) stime (2) strcat string(3) POSIX strchr string(3) POSIX strcmp string(3) POSIX strcpy string(3) POSIX strcspn string(3) POSIX strlen string(3) POSIX strncat string(3) POSIX strncmp string(3) POSIX strncpy string(3) POSIX strpbrk string(3) POSIX strrchr string(3) POSIX strspn string(3) POSIX strtok string(3) POSIX stty (3) sync (2) system (3) telldir directory(3) testflag stdio(3) tgetent termcap(3) tgetflag termcap(3) tgetnum termcap(3) tgetstr termcap(3) tgoto termcap(3) time (2) POSIX times (2) POSIX tmpfile (3) POSIX tmpnam (3) POSIX tolower (3) POSIX toupper (3) POSIX tputs termcap(3) ttyname (3) POSIX umask (2) POSIX umount (2) uname (3) POSIX ungetc (3) POSIX unlink (2) POSIX utime (2) POSIX wait (2) POSIX write (2) POSIX REFERENCES intro(2) IEEE Std 1003.1 Trial-Use Standard PROBLEMS MINIX does not support any floating point subroutines, nor does it contain the following from the IEEE Std 1003.1 Trial-Use Standard: lockf mkfifo -------------------------------------------------------------------- Edwin L. Froese uw-beaver!ubc-cs!mprg!handel!froese Terrence W. Holm uw-beaver!ubc-cs!uvicctr!sirius!tholm