libexplain  1.4.D001
Functions
libexplain/buffer/utimensat_fildes.h File Reference
#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)

Function Documentation

The explain_buffer_utimensat_fildes function may be used to print a representation of a utimensat fildes value.

Parameters:
sbThe string buffer to print into.
valueThe 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.

Parameters:
textThe text string to be parsed
captionadditional context for error messages

Definition at line 39 of file utimensat_fildes.c.