mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-06 03:08:31 +00:00
Fix small matters and improve sysconf()
- Fix mkdeps.com out of memory error - Remove static memory from __get_cpu_count() - Add support for passing hyphen to cat in cocmd - Change more ZipOS errors from ENOTSUP to EROFS - Specify mem_unit in sysinfo() output on BSD OSes
This commit is contained in:
parent
eebc24b9cd
commit
3a9cac4892
55 changed files with 411 additions and 262 deletions
|
@ -27,6 +27,12 @@
|
|||
/**
|
||||
* Creates file-less file descriptors for interprocess communication.
|
||||
*
|
||||
* This function offers atomic operation on all supported platforms
|
||||
* except for XNU and RHEL5 where it's polyfilled.
|
||||
*
|
||||
* @params flags may contain `O_CLOEXEC`, `O_NONBLOCK`, and `O_DIRECT`
|
||||
* @raise EINVAL if flags has invalid or unsupported bits
|
||||
* @raise EFAULT if `pipefd` doesn't point to valid memory
|
||||
* @raise EMFILE if process `RLIMIT_NOFILE` has been reached
|
||||
* @raise ENFILE if system-wide file limit has been reached
|
||||
* @param pipefd is used to return (reader, writer) file descriptors
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue