Utility functions include platform-independent, thread-safe versions of many standard library functions such as string manipulation, as well as new utilities useful for NSAPI.
daemon_atrestart registers a user function to be called when the server is sent a restart signal (HUP) or at shutdown. For more information, see daemon_atrestart() Function.
daemon_atrestart gets the local host name as a fully qualified domain name. For more information, see util_hostname() Function.
util_later_than compares two dates. For more information, see util_later_than() Function.
util_sprintf is the same as the standard library routine sprintf(). For more information, see util_sprintf() Function.
util_strftime is the same as the standard library routine strftime(). For more information, see util_strftime() Function.
util_uri_escape converts the special characters in a string into URI-escaped format. For more information, see util_uri_escape() Function.
util_uri_unescape converts the URI-escaped characters in a string back into special characters. For more information, see util_uri_unescape() Function.
You cannot use an embedded null in a string, because NSAPI functions assume that a null is the end of the string. Therefore, passing Unicode-encoded content through an NSAPI plug-in does not work.