add our own implementation for pa_snprintf() because NUL termination is apparently not guaranteed on windows and a couple of other libcs

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1531 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2007-07-25 15:49:35 +00:00
parent 9e9dc0b14d
commit 2380ad9254
2 changed files with 21 additions and 1 deletions

View file

@ -92,4 +92,6 @@ char *pa_runtime_path(const char *fn, char *s, size_t l);
int pa_atoi(const char *s, int32_t *ret_i);
int pa_atou(const char *s, uint32_t *ret_u);
int pa_snprintf(char *str, size_t size, const char *format, ...);
#endif