| cgetns | Function (ROM Call 0x130)

cert.h

short cgetns (CFILE *context);

Gets a non-aligned short integer from a context.

cgetns gets a short 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 two characters. In fact, it calls cgetc twice, and combines two returned bytes into one word.

Uses: cgetc
Used by: cgetflen, cread