libexplain
1.4.D001
|
#include <libexplain/string_buffer.h>
Go to the source code of this file.
Functions | |
void | explain_buffer_shmctl_command (explain_string_buffer_t *sb, int value) |
int | explain_parse_shmctl_command_or_die (const char *text, const char *caption) |
void explain_buffer_shmctl_command | ( | explain_string_buffer_t * | sb, |
int | value | ||
) |
The explain_buffer_shmctl_command function may be used to print a representation of a shmctl_command structure.
sb | The string buffer to print into. |
value | The shmctl command valie to be printed. |
Definition at line 56 of file shmctl_command.c.
int explain_parse_shmctl_command_or_die | ( | const char * | text, |
const char * | caption | ||
) |
The explain_parse_shmctl_command_or_die function is used to parse a text string, to extract a shmctl(2) command argument value.
text | The text to be parsed. |
caption | an additonal descripotion, for error messages |
Definition at line 63 of file shmctl_command.c.