libexplain
1.4.D001
|
#include <libexplain/string_buffer.h>
Go to the source code of this file.
Functions | |
void | explain_buffer_utimensat_fildes (explain_string_buffer_t *sb, int value) |
int | explain_parse_utimensat_fildes_or_die (const char *text, const char *caption) |
void explain_buffer_utimensat_fildes | ( | explain_string_buffer_t * | sb, |
int | value | ||
) |
The explain_buffer_utimensat_fildes function may be used to print a representation of a utimensat fildes value.
sb | The string buffer to print into. |
value | The utimensat fildes value to be printed. |
Definition at line 29 of file utimensat_fildes.c.
int explain_parse_utimensat_fildes_or_die | ( | const char * | text, |
const char * | caption | ||
) |
The explain_parse_utimensat_fildes_or_die function is used to parse a text string to extract a file descriptor number, or possibly AT_FDCWD referring to the current directory for *at functions.
If the parse fails, it exits via the normal libexplain mechanism.
text | The text string to be parsed |
caption | additional context for error messages |
Definition at line 39 of file utimensat_fildes.c.