cputhdr Function (ROM Call 0x134)

cert.h

short cputhdr (CFILE *context, unsigned short FieldID, unsigned short len);

Puts a field header to a context.

cputhdr puts a field header to the file associated with the file context pointed to by context and moves the file pointer accordingly. The field header includes ID word (i.e. field ID number and four length bits), and up to four length bytes if necessary (see cread for more info about fields). Required data for forming the header are taken from parameters FieldID and len. cputhdr returns TRUE if the operation was successful, otherwise it returns FALSE.


Uses: cputnl, cputns
Used by: cwrite