File: stringutils.h

package info (click to toggle)
xosview 1.24-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,184 kB
  • sloc: cpp: 11,975; makefile: 154; ansic: 32; awk: 13; sh: 8
file content (11 lines) | stat: -rw-r--r-- 267 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#ifndef _STRINGUTILS_H_
#define _STRINGUTILS_H_

#include <stdlib.h>

/** Like snprintf, except that instead of truncating the string, it
 * will print an error message and abort().
 */
void snprintf_or_abort(char* str, size_t size, const char* format, ...);

#endif