mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-20 05:52:46 +08:00
Correct the read_blocked comment
This commit is contained in:
parent
26ada583a0
commit
d4e3f49571
|
@ -764,8 +764,8 @@ void error_reset();
|
||||||
/// initialization.
|
/// initialization.
|
||||||
void fish_setlocale();
|
void fish_setlocale();
|
||||||
|
|
||||||
/// Call read while blocking the SIGCHLD signal. Should only be called if you _know_ there is data
|
/// Call read, blocking and repeating on EINTR. Exits on EAGAIN.
|
||||||
/// available for reading, or the program will hang until there is data.
|
/// \return the number of bytes read, or 0 on EOF. On EAGAIN, returns -1 if nothing was read.
|
||||||
long read_blocked(int fd, void *buf, size_t count);
|
long read_blocked(int fd, void *buf, size_t count);
|
||||||
|
|
||||||
/// Loop a write request while failure is non-critical. Return -1 and set errno in case of critical
|
/// Loop a write request while failure is non-critical. Return -1 and set errno in case of critical
|
||||||
|
|
Loading…
Reference in New Issue
Block a user