[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


wcsftime

Formats a wide character string for time.

Compatibility:

This function is compatible with the following targets:

ANSI

BeOS

EMB/RTOS

Mac OS

Palm OS

Win32


Prototype:
#include <wchar.h>
size_t wcsftime(wchar_t * str, 
  size_t max_size,
  const wchar_t * format_str,
  const struct tm * timeptr);
Parameters:

Parameters for this function are:

str  
wchar_t *  
The destination string  
max_size  
size_t  
Maximum string size  
format_str  
const wchar_t *  
The format string  
timeptr  
const struct tm *  
The time structure containing the calendar time  

Remarks:

Performs the same task as strftime for a wide character type.

Return:

The wcsftime function returns the total number of characters in the argument str if the total number of characters including the null character in the string argument str is less than the value of max_size argument. If it is greater, wcsftime returns 0

See Also:

"strftime"


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 16, 2000