![]() |
The FreeRADIUS server $Id: f3670dba8951ca10eb4948feb3dc3db9423a334f $
|
Common errno handling for FD bio reads and writes. More...
#include <freeradius-devel/bio/fd_priv.h>
Include dependency graph for fd_errno.h:Go to the source code of this file.
Macros | |
| #define | FD_ENET_SUPPRESS |
Functions | |
| static bool | fr_bio_fd_errno_retry (fr_bio_fd_t *my, ssize_t *rcode_p, int *tries_p, bool is_write) |
| Turn a failed read / write into a bio return code. | |
Common errno handling for FD bio reads and writes.
Definition in file fd_errno.h.
| #define FD_ENET_SUPPRESS |
Definition at line 146 of file fd_errno.h.
|
inlinestatic |
Turn a failed read / write into a bio return code.
Only called when the syscall failed, i.e. when rcode is negative.
| my | the FD bio. | |
| [in,out] | rcode_p | in: the failed syscall return code. out: what to return to the application. |
| [in,out] | tries_p | how many times we have retried on EINTR. |
| is_write | true for the write path, false for the read path. |
Definition at line 41 of file fd_errno.h.
Here is the call graph for this function:
Here is the caller graph for this function:
1.9.8