libexplain  1.4.D001
Functions
libexplain/string_flags.c File Reference
#include <libexplain/ac/fcntl.h>
#include <libexplain/string_buffer.h>
#include <libexplain/string_flags.h>

Go to the source code of this file.

Functions

void explain_string_flags_init (explain_string_flags_t *sf, const char *flags)

Function Documentation

void explain_string_flags_init ( explain_string_flags_t sf,
const char *  from 
)

The explain_string_flags_init function may be used to translate an fopen(3) flags string argument into an open(2) flags bit field argument.

Parameters:
sfThe string flags to fill
fromthe string to fill the string flags from

Definition at line 27 of file string_flags.c.