MPE_Log_pack man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

MPE_Log_pack(4)			      MPE		       MPE_Log_pack(4)

NAME
       MPE_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.

SYNOPSIS
       int MPE_Log_pack( MPE_LOG_BYTES bytebuf, int *position,
			 char tokentype, int count, const void *data )

OUTPUT PARAMETERS
       bytebuf
	      -	 output byte buffer which is of sizeof(MPE_LOG_BYTES), i.e. 32
	      bytes.  For C, bytebuf could be of type MPE_LOG_BYTES.  For For‐
	      tran, bytebuf could be of type 'character*32'.
       position
	      -	 an  offset  measured  from  the beginning of the bytebuf.  On
	      input, data will be written to the offset position.  On  Output,
	      position	will be updated to reflect the next available position
	      in the byte buffer.

INPUT PARAMETERS
       tokentype
	      - a character token type indicator, currently  supported	tokens
	      are 's', 'h', 'd', 'l', 'x', 'X', 'e' and 'E'.
       count  -	 the number of continuous storage units as indicated by token‐
	      type.
       data   - pointer to the beginning of the storage units being copied.

NOTES ON STORAGE FORMAT CONTROL SUPPORT
       The 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
				   6/15/2009		       MPE_Log_pack(4)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net