XMMS2
|
Miscellaneous internal utility functions. More...
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <xmms_configuration.h>
#include <xmmsc/xmmsc_util.h>
#include <xmmscpriv/xmmsc_util.h>
Functions | |
const char * | xmms_default_ipcpath_get (char *buf, int len) |
Get the default connection path. More... | |
char * | x_vasprintf (const char *fmt, va_list args) |
vsprintf, but with x_new allocated result More... | |
char * | x_asprintf (const char *fmt,...) |
sprintf, but with x_new allocated result More... | |
Miscellaneous internal utility functions.
char* x_asprintf | ( | const char * | fmt, |
... | |||
) |
sprintf, but with x_new allocated result
char* x_vasprintf | ( | const char * | fmt, |
va_list | args | ||
) |
vsprintf, but with x_new allocated result
Referenced by x_asprintf().
const char* xmms_default_ipcpath_get | ( | char * | buf, |
int | len | ||
) |
Get the default connection path.
buf | A char buffer |
len | The length of buf (XMMS_PATH_MAX is a good choice) |