_NutTzGet(), _NutTzSet()

get or set the internal NuTCRACKER Platform time zone string 

Function


SYNOPSIS

#include <nutc.h>

void _NutTzSet(const char *tz);

const char *_NutTzGet(char *dst);


DESCRIPTION

The _NutTzSet() function sets the internal NuTCRACKER Platform time zone string. Refer to tzset() for more information on the use of this string.

The _NutTzGet() function returns the current internal NuTCRACKER Platform time zone string.


PARAMETERS

tz 

Is the value to assign to the internal NuTCRACKER Platform time zone string.

dst 

Identifies the location where the current string is to be stored, or NULL if an internal buffer should be returned.


RETURN VALUES

The _NutTzSet() function returns nothing.

The _NutTzGet() function returns a null pointer if no time zone string has been set. If a time zone string has been set and dst is not null, the time zone setting is copied to that location, and dst is returned. Otherwise, a pointer to an internal buffer is returned.


CONFORMANCE

PTC MKS Toolkit UNIX APIs extension.


MULTITHREAD SAFETY LEVEL

MT-Safe.


PORTING ISSUES

None.


AVAILABILITY

PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Functions:
tzset()


PTC MKS Toolkit 10.5 Documentation Build 40.