version 1.18, 2004/10/17 20:39:17
|
version 1.19, 2005/01/18 15:42:08
|
|
|
| |
#include <cstddef> | #include <cstddef> |
| |
|
#include <stdarg.h> |
|
#include <stdio.h> |
|
|
#define PEGASUS_OS_TYPE_UNIX | #define PEGASUS_OS_TYPE_UNIX |
| |
#define PEGASUS_OS_ZOS | #define PEGASUS_OS_ZOS |
|
|
#define PEGASUS_MAXHOSTNAMELEN 256 | #define PEGASUS_MAXHOSTNAMELEN 256 |
| |
#define PEGASUS_NO_PASSWORDFILE | #define PEGASUS_NO_PASSWORDFILE |
#define snprintf(sptr,len,form,data) sprintf(sptr,form,data) |
|
|
|
|
//#define snprintf(sptr,len,form,data) sprintf(sptr,form,data) |
|
|
|
inline int snprintf(char *sptr, size_t len, const char* form, ...) |
|
{ |
|
int returnvalue; |
|
va_list arguments; |
|
va_start(arguments, form); |
|
returnvalue = vsprintf(sptr, form, arguments); |
|
va_end(arguments); |
|
return returnvalue; |
|
} |
|
|
|
|
#endif /* Pegasus_Platform_ZOS_ZSERIES_IBM_h */ | #endif /* Pegasus_Platform_ZOS_ZSERIES_IBM_h */ |