binio-fputlong


Synopsis

(binio-fputlong <ostream> <num>|<list-of-nums>)

Description

Writes a single long integer (signed 4 byte longint in Intel order) or a list of long integers to an open output stream, opened with (binio-fopen fn "w"), (binio-fopen fn "rw") or (binio-fopen fn "a")

Reals are converted to longs with fix.

Dependant on an external library: so far only binio.fas for ViLL or vlisp

Arguments

ostream: internal object representation of a binary file, opened for output.

num: either a single number (integer or real) or a list of numbers

Return Value

Currently unspecified

Side Effects

Writes data to an open stream and advances the file pointer by 4 bytes or multiples.

Module

(std-require-external 'BINIO)

Defined in BINIO