ReactOS 0.4.15-dev-7924-g5949c20
Strn.h
Go to the documentation of this file.
1/* Strn.h */
2
3#ifndef _Strn_h_
4#define _Strn_h_ 1
5
6/* You should define this from the Makefile. */
7#ifndef STRN_ZERO_PAD
8# define STRN_ZERO_PAD 1
9#endif
10
11/* You should define this from the Makefile. */
12#ifndef STRNP_ZERO_PAD
13# define STRNP_ZERO_PAD 0
14#endif
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
20/* Strncat.c */
21char *Strncat(char *const, const char *const, const size_t);
22
23/* Strncpy.c */
24char *Strncpy(char *const, const char *const, const size_t);
25
26/* Strnpcat.c */
27char *Strnpcat(char *const, const char *const, size_t);
28
29/* Strnpcpy.c */
30char *Strnpcpy(char *const, const char *const, size_t);
31
32/* Strntok.c */
33char *Strtok(char *, const char *);
34int Strntok(char *, size_t, char *, const char *);
35
36/* strtokc.c */
37char *strtokc(char *, const char *, char **);
38int strntokc(char *, size_t, char *, const char *, char **);
39
40/* Dynscat.c */
41char * Dynscat(char **dst, ...);
42
43#ifdef __cplusplus
44}
45#endif
46
47#define STRNCPY(d,s) Strncpy((d), (s), (size_t) sizeof(d))
48#define STRNCAT(d,s) Strncat((d), (s), (size_t) sizeof(d))
49
50#endif /* _Strn_h_ */
51
52/* eof Strn.h */
char * Strncat(char *const, const char *const, const size_t)
Definition: Strncat.c:13
char * Strtok(char *, const char *)
Definition: Strntok.c:35
int strntokc(char *, size_t, char *, const char *, char **)
Definition: strtokc.c:92
char * strtokc(char *, const char *, char **)
Definition: strtokc.c:7
char * Dynscat(char **dst,...)
Definition: Dynscat.c:9
char * Strncpy(char *const, const char *const, const size_t)
Definition: Strncpy.c:11
int Strntok(char *, size_t, char *, const char *)
Definition: Strntok.c:80
char * Strnpcpy(char *const, const char *const, size_t)
Definition: Strnpcpy.c:12
char * Strnpcat(char *const, const char *const, size_t)
Definition: Strnpcat.c:16
GLenum GLenum dst
Definition: glext.h:6340