File: distrutils.h

package info (click to toggle)
di 6.2.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 896 kB
  • sloc: ansic: 9,364; sh: 5,211; perl: 1,749; awk: 463; makefile: 398
file content (34 lines) | stat: -rw-r--r-- 711 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/* Copyright 2025-2026 Brad Lanam Pleasant Hill CA */

#ifndef INC_DISTRUTILS_H
#define INC_DISTRUTILS_H

#include "config.h"
#if _hdr_stddef
# include <stddef.h>
#endif

# if defined (__cplusplus) || defined (c_plusplus)
extern "C" {
# endif

extern void * di_realloc (void *, Size_t);
extern void di_trimchar (char *, int);
char * di_strtok (char *str, const char *delim, char **tokstr);
# if ! _lib_stpecpy
char * stpecpy (char *dst, char *end, const char *src);
# endif

# if ! _lib_strdup
extern char * strdup (const char *);
# endif

# if ! _lib_strstr
extern char * strstr (const char *, const char *);
# endif

# if defined (__cplusplus) || defined (c_plusplus)
}
# endif

#endif /* INC_DISTRUTILS_H */