Changes between Version 2 and Version 3 of StandardAPI
- Timestamp:
- 2017-04-07T17:42:19Z (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
StandardAPI
v2 v3 3 3 '''General note:''' The primary aim of ''HelenOS C library'' is not a to be 100% compatible with the standards. For both many fundamental reasons (HelenOS is not an unix-like operating system) and practical reasons (our subjective dislike of some aspects of the standards, security issues, etc.) the ''HelenOS C library'' follows the standards very loosely. Many functions are not implemented because lack of current need or simple because lack of manpower and many functions closely resemble their standard-compliant counterparts, but behave very slightly differently. 4 4 5 6 5 == unistd.h == 7 6 8 Implemented functions :7 Implemented functions (items marked wit D have been removed in the development version): 9 8 10 9 || '''Function''' || '''Based on''' || '''Std Compliant''' || '''Note''' || 11 || chdir 12 || close 13 || dup2 10 || chdir (D) || POSIX-1-2001 || mostly || || 11 || close (D) || POSIX-1.2001 || mostly || || 12 || dup2 (D) || POSIX-1.2001 || mostly || || 14 13 || exit || POSIX-1.2001, C89, C99 || mostly || should be defined in stdlib.h by POSIX || 15 || fsync 16 || ftruncate 17 || getcwd 18 || lseek 19 || read 20 || rmdir 14 || fsync (D) || POSIX.1-2001 || partially || non-standard semantics || 15 || ftruncate (D) || POSIX.1-2001 || partially || the absolute offset is aoff64_t || 16 || getcwd (D) || POSIX.1-2001 || mostly || || 17 || lseek (D) || POSIX.1-2001 || partially || relative offset is off64_t || 18 || read (D) || POSIX.1-2001 || mostly || || 19 || rmdir (D) || POSIX.1-2001 || mostly || || 21 20 || sleep || POSIX.1-2001 || mostly || || 22 || unlink 21 || unlink (D) || POSIX.1-2001 || mostly || || 23 22 || usleep || POSIX.1-2001 || mostly || obsoleted and replaced by nanosleep in POSIX.1-2008 || 24 || write 23 || write (D) || POSIX.1-2001 || mostly || || 25 24 26 25 Unimplemented functions: