Last change
on this file since 18481 was 22, checked in by ogrimm, 16 years ago |
First commit of drsdaq program
|
File size:
667 bytes
|
Line | |
---|
1 | /********************************************************************\
|
---|
2 |
|
---|
3 | Name: strlcpy.h
|
---|
4 | Created by: Stefan Ritt
|
---|
5 |
|
---|
6 | Contents: Header file for strlcpy.c
|
---|
7 |
|
---|
8 | $Id: strlcpy.h 62 2007-10-23 17:53:45Z sawada $
|
---|
9 |
|
---|
10 | \********************************************************************/
|
---|
11 |
|
---|
12 | #ifndef _STRLCPY_H_
|
---|
13 | #define _STRLCPY_H_
|
---|
14 |
|
---|
15 | #ifdef __cplusplus
|
---|
16 | extern "C" {
|
---|
17 | #endif
|
---|
18 |
|
---|
19 | #ifndef EXPRT
|
---|
20 | #if defined(EXPORT_DLL)
|
---|
21 | #define EXPRT __declspec(dllexport)
|
---|
22 | #else
|
---|
23 | #define EXPRT
|
---|
24 | #endif
|
---|
25 | #endif
|
---|
26 |
|
---|
27 | size_t EXPRT strlcpy(char *dst, const char *src, size_t size);
|
---|
28 | size_t EXPRT strlcat(char *dst, const char *src, size_t size);
|
---|
29 |
|
---|
30 | #ifdef __cplusplus
|
---|
31 | }
|
---|
32 | #endif
|
---|
33 |
|
---|
34 | #endif /*_STRLCPY_H_ */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.