cgetnl Function (ROM Call 0x12F)

cert.h

long cgetnl (CFILE *context);

Gets a non-aligned long integer from a context.

cgetnl gets a long integer (which does not necessarily need to be aligned on an even address) from the file associated with the file context pointed to by context, and moves the file pointer forward by four characters. In fact, it calls cgetc four times, and combines four returned bytes into one doubleword.


Uses: cgetc
Used by: cgetflen