mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 05:52:57 +00:00
- Start rosapps rearrange and cleanup process.
svn path=/trunk/; revision=34303
This commit is contained in:
parent
0a0a13a41c
commit
2012315e5a
1206 changed files with 81 additions and 81 deletions
52
rosapps/applications/net/ncftp/Strn/Strn.h
Normal file
52
rosapps/applications/net/ncftp/Strn/Strn.h
Normal file
|
@ -0,0 +1,52 @@
|
|||
/* Strn.h */
|
||||
|
||||
#ifndef _Strn_h_
|
||||
#define _Strn_h_ 1
|
||||
|
||||
/* You should define this from the Makefile. */
|
||||
#ifndef STRN_ZERO_PAD
|
||||
# define STRN_ZERO_PAD 1
|
||||
#endif
|
||||
|
||||
/* You should define this from the Makefile. */
|
||||
#ifndef STRNP_ZERO_PAD
|
||||
# define STRNP_ZERO_PAD 0
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Strncat.c */
|
||||
char *Strncat(char *const, const char *const, const size_t);
|
||||
|
||||
/* Strncpy.c */
|
||||
char *Strncpy(char *const, const char *const, const size_t);
|
||||
|
||||
/* Strnpcat.c */
|
||||
char *Strnpcat(char *const, const char *const, size_t);
|
||||
|
||||
/* Strnpcpy.c */
|
||||
char *Strnpcpy(char *const, const char *const, size_t);
|
||||
|
||||
/* Strntok.c */
|
||||
char *Strtok(char *, const char *);
|
||||
int Strntok(char *, size_t, char *, const char *);
|
||||
|
||||
/* strtokc.c */
|
||||
char *strtokc(char *, const char *, char **);
|
||||
int strntokc(char *, size_t, char *, const char *, char **);
|
||||
|
||||
/* Dynscat.c */
|
||||
char * Dynscat(char **dst, ...);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#define STRNCPY(d,s) Strncpy((d), (s), (size_t) sizeof(d))
|
||||
#define STRNCAT(d,s) Strncat((d), (s), (size_t) sizeof(d))
|
||||
|
||||
#endif /* _Strn_h_ */
|
||||
|
||||
/* eof Strn.h */
|
Loading…
Add table
Add a link
Reference in a new issue