Next: , Previous: , Up: Internal Routines   [Contents][Index]

15.5.408 openu

openu, lun, file [, /get_lun]

openu(lun, file [, /get_lun])

Opens file (a string) on logical unit number lun for updating (i.e. appending at the end). The /get_lun switch instructs LUX to find and use the next free logical unit and to return the found unit number in lun. The function form returns 1 when successful, 0 otherwise.

See also: openw, openr, close, printf, assoc, rewind