read_long
List of: Functions
Subjects: SAT Save and Restore
Contents: Kernel

Action: Reads a long written with C printf format "%ld".

Prototype: long read_long ();

Includes: #include "kernel/acis.hxx"

#include "kernel/kernutil/fileio/fileio.hxx"

Description: This routine is used as part of restore from a SAT or SAB file. Reads a long integer. In text mode, this ignores initial white space, and leaves the input stream positioned at the character (which should be white space) which terminates the decimal integer representation. In binary, this simply reads the correct number of bytes for the internal representation, and then possibly reorders them. ActiveFile is a FileInterface object and does most of the actual work.


return ActiveFile ? ActiveFile->read_long() : 0;
Call the appropriate SatFile or SabFile method

Library: kernel

Filename: kern/kernel/kernutil/fileio/fileio.hxx

Effect: Read-only
PDF/KERN/25FNM.PDF
HTM/DATA/KERN/KERN/25FNM/0015.HTM