Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ bstr_time_to_string(3) — BASEstar Open Server 3.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

bstr_time_to_string(3)  —  Subroutines

Name

bstr_time_to_string − Converts a BASEstar Open time into a string. 

Syntax

bstr_t_status   bstr_time_to_string (
                                   bstr_t_time   ∗ptv,
                                   char          ∗buf);

 

Description

  The bstr_time_to_string procedure converts the specified BASEstar Open time value into a NULL terminated string. The string consists of 32 characters in the following format:

             DDD MMM dd hh:mm:ss tttttt YYYY

 

Where:

•DDD = first three characters of the day

•MMM = first three characters of the month

•dd = date

•hh = hour

•mm = minutes

•ss = seconds

•tttttt = milliseconds

•YYYY = year. 
 

Arguments

ptv
access: read
The address of the BASEstar Open time value.
 

buf
access: read
The address of the buffer in which BASEstar Open returns the string.

Return Values

BSTR_S_BAD_PARAMETER Bad parameter value
BSTR_S_COM_PC_SIZE_MISMATCH Number of bytes requested does not match the number of bytes returned
BSTR_S_NORMAL Normal successful completion

See Also

 

bstr_time_compare #
bstr_get_time #
bstr_time_convert #
bstr_string_to_time #

 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026