|
libmsngr
1.1
|
Utility Functions. More...
#include <stdlib.h>#include <string.h>#include <errno.h>#include <unistd.h>#include <sys/stat.h>#include "messenger.h"Go to the source code of this file.
Functions | |
| char * | msngr_copy_string (const char *string) |
| Create a dynamically allocated copy of a string. | |
| char * | msngr_create_string (const char *format,...) |
| Create a new text string. | |
| char * | msngr_format_time (time_t secs1970, char *string) |
| Convert seconds since 1970 to a formatted time string. | |
| char * | msngr_format_va_list (const char *format, va_list args) |
| Create a text string from a format string and va_list. | |
| time_t | msngr_get_process_start_time (pid_t pid) |
| Get the start time of a process. | |
| int | msngr_make_path (const char *path, mode_t mode, size_t errlen, char *errstr) |
| Make the full path to a directory. | |
| int | msngr_vprintf (const char *format, va_list args) |
| Wrapper to vprintf that preserves the argument list. | |
| int | msngr_vfprintf (FILE *stream, const char *format, va_list args) |
| Wrapper to vfprintf that preserves the argument list. | |
| int | msngr_vsprintf (char *string, const char *format, va_list args) |
| Wrapper to vsprintf that preserves the argument list. | |
| int | msngr_vsnprintf (char *string, size_t nbytes, const char *format, va_list args) |
| Wrapper to vsnprintf that preserves the argument list. | |
Utility Functions.
Definition in file msngr_utils.c.