Util_Strftime - Netscape ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Manual

Nsapi
Table of Contents

Advertisement

Syntax
int util_strcasecmp(const char *s1, const char *s2);
Returns
1 if
is greater than
s1
0 if
is equal to
s1
s2.
-1 if
is less than
s1
s2.
Parameters
is the first string.
char *s1
is the second string.
char *s2
See also
util_strncasecmp

util_strftime

The
util_strftime
describing a system time, into a textual representation. It is a thread-safe version of
the standard
strftime
Syntax
int util_strftime(char *s, const char *format, const struct tm *t);
Returns
The number of characters placed into
character.
Parameters
is the string buffer to put the text into. There is no bounds checking, so
char *s
you must make sure that your buffer is large enough for the text of the date.
const char *format
of text with certain
%x
create date strings in the standard internet format. For more information, see the
documentation on the
Refer to Appendix D, "Time Formats" for details on time formats.
const struct tm *t
the function
system_localtime
See also
system_localtime, system_gmtime
.
s2
function translates a
function
, not counting the terminating NULL
s
is a format string, a bit like a
substrings. You may use the constant HTTP_DATE_FMT to
function for the run-time library of your compiler.
printf
is a pointer to a calendar time (
or
system
NSAPI Functions (in Alphabetical Order)
structure, which is a structure
tm
string in that it consists
printf
) struct, usually created by
tm
_
.
gmtime
Chapter 5
NSAPI Function Reference
199

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.0

Table of Contents