GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> FES / V6-5-0 > fes_ux / rhel4-32
#include <time.h>
Functions | |
int | fesErrnoTran (void) |
Translate system error codes. | |
int | fesNmsgErrTran (int nStat) |
Translate NMSG error codes. | |
int | fesTimeStr (char *str, int leng, time_t tval) |
Format a time value as a string. | |
int | fesEtimeStr (char *str, int leng, int tval) |
Format an elapsed time string. |
$Id: fesUtil.h,v 1.5 2011/03/29 22:58:29 saxton Exp $
int fesErrnoTran | ( | void | ) |
Translate system error codes.
This routine translate the value in errno to a FES status code.
Referenced by fesFileDiskInfoGet(), fesFileRead(), and fesFileWrite().
int fesEtimeStr | ( | char * | str, | |
int | leng, | |||
int | tval | |||
) |
Format an elapsed time string.
This routine formats an elapsed time into a string of the form ddd hh:mm:ss.
str | The address of the area to receive the formatted time. | |
leng | The size of the string area. | |
tval | The elapsed time value to be formatted. |
int fesNmsgErrTran | ( | int | nStat | ) |
Translate NMSG error codes.
This routine translates a status code returned by an NMSG routine to a FES status code.
nStat | The NMSG status code to be translated. |
Referenced by fesFileRead(), fesFileSeek(), and fesFileStat().
int fesTimeStr | ( | char * | str, | |
int | leng, | |||
const time_t | tval | |||
) |
Format a time value as a string.
This routine formats a time into a standard time string.
str | The address of the area to receive the formatted time. | |
leng | The size of the string area. | |
tval | The time value to be formatted. |
Referenced by fesDataShow(), fesFileShow(), and fesFileStatShow().