|
NAMEMPE_Log_pack - pack the informational data into the byte buffer to be stored in a infomational event. The routine will byteswap the data if it is invoked on a small endian machine.SYNOPSISint MPE_Log_pack( MPE_LOG_BYTES bytebuf, int *position, char tokentype, int count, const void *data ) OUTPUT PARAMETERS
INPUT PARAMETERS
NOTES ON STORAGE FORMAT CONTROL SUPPORTThe format control string is printf like, e.g. "Comment = %s". All the MPE %-token storage support is provided by SLOG-2. That is whatever supported by SLOG-2 will be supported by MPE. Currently, the following is supported.%s : variable length string, byte buffer size is length of string + 2. %h : 2-byte integer, printed as decimal integer, byte buffer size is 2. %d : 4-byte integer, printed as decimal integer, byte buffer size is 4. %l : 8-byte integer, printed as decimal integer, byte buffer size is 8. %x : 4-byte integer, printed as hexadecimal integer, byte buffer size is 4. %X : 8-byte integer, printed as hexadecimal integer, byte buffer size is 8. %e : 4-byte float, printed as decimal float, byte buffer size is 4. %E : 8-byte float, printed as decimal float, byte buffer size is 8. LOCATION
Visit the GSP FreeBSD Man Page Interface. |