mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-08 10:50:28 +00:00
Add brief description to some unix.* calls missing it
This commit is contained in:
parent
f68e79622c
commit
39ce014105
1 changed files with 9 additions and 1 deletions
|
@ -2828,7 +2828,7 @@ UNIX MODULE
|
||||||
|
|
||||||
`env` is a string list table. Values are coerced to strings. No
|
`env` is a string list table. Values are coerced to strings. No
|
||||||
ordering requirement is imposed. By convention, each string has its
|
ordering requirement is imposed. By convention, each string has its
|
||||||
key and value divided by an equals sign without spaces. If this
|
key and value separated by an equals sign without spaces. If this
|
||||||
parameter is not specified, it'll default to the C/C++ `environ`
|
parameter is not specified, it'll default to the C/C++ `environ`
|
||||||
variable which is inherited from the shell that launched redbean.
|
variable which is inherited from the shell that launched redbean.
|
||||||
It's the responsibility of the user to supply a sanitized environ
|
It's the responsibility of the user to supply a sanitized environ
|
||||||
|
@ -3677,6 +3677,8 @@ UNIX MODULE
|
||||||
├─→ fd:int
|
├─→ fd:int
|
||||||
└─→ nil, unix.Errno
|
└─→ nil, unix.Errno
|
||||||
|
|
||||||
|
Creates socket endpoint for process communication.
|
||||||
|
|
||||||
`family` defaults to `AF_INET` and can be:
|
`family` defaults to `AF_INET` and can be:
|
||||||
|
|
||||||
- `AF_INET`: Creates Internet Protocol Version 4 (IPv4) socket.
|
- `AF_INET`: Creates Internet Protocol Version 4 (IPv4) socket.
|
||||||
|
@ -3975,6 +3977,8 @@ UNIX MODULE
|
||||||
├─→ data:str
|
├─→ data:str
|
||||||
└─→ nil, unix.Errno
|
└─→ nil, unix.Errno
|
||||||
|
|
||||||
|
Receives message from a socket.
|
||||||
|
|
||||||
`flags` may have any combination (using bitwise OR) of:
|
`flags` may have any combination (using bitwise OR) of:
|
||||||
|
|
||||||
- `MSG_WAITALL`
|
- `MSG_WAITALL`
|
||||||
|
@ -3987,6 +3991,8 @@ UNIX MODULE
|
||||||
├─→ data:str, unixpath:str
|
├─→ data:str, unixpath:str
|
||||||
└─→ nil, unix.Errno
|
└─→ nil, unix.Errno
|
||||||
|
|
||||||
|
Receives message from a socket.
|
||||||
|
|
||||||
`flags` may have any combination (using bitwise OR) of:
|
`flags` may have any combination (using bitwise OR) of:
|
||||||
|
|
||||||
- `MSG_WAITALL`
|
- `MSG_WAITALL`
|
||||||
|
@ -4063,6 +4069,8 @@ UNIX MODULE
|
||||||
├─→ oldhandler:func|int, flags:int, mask:unix.Sigset
|
├─→ oldhandler:func|int, flags:int, mask:unix.Sigset
|
||||||
└─→ nil, unix.Errno
|
└─→ nil, unix.Errno
|
||||||
|
|
||||||
|
Changes action taken upon receipt of a specific signal.
|
||||||
|
|
||||||
`sig` can be one of:
|
`sig` can be one of:
|
||||||
|
|
||||||
- `unix.SIGINT`
|
- `unix.SIGINT`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue