summaryrefslogtreecommitdiffstats
path: root/runtime/string.h
blob: dc7d65925d942bfe06db8699730602b1d24d61a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* -*- linux-c -*-
 * Copyright (C) 2005, 2007 Red Hat Inc.
 *
 * This file is part of systemtap, and is free software.  You can
 * redistribute it and/or modify it under the terms of the GNU General
 * Public License (GPL); either version 2, or (at your option) any
 * later version.
 */
#ifndef _STRING_H_
#define _STRING_H_

/* set up a special stdout string */
static char _stp_stdout[] = "_stdout_";

#define to_oct_digit(c) ((c) + '0')
void _stp_vsprintf (char *str, const char *fmt, va_list args);
void _stp_text_str(char *out, char *in, int len, int quoted, int user);

#endif /* _STRING_H_ */