This is a library exposing various STDIO functions from the standard C library. Handles are all standard 4GL INTEGER’s.
13.3.1 Dependencies
None
13.3.2 Function list
Open a pipe for reading/write
popen(p_command,mode)
Open a file for reading or writing
fopen(filename,mode)
indicate the current position in a file
ftell(handle)
Tests if there is an error on a file handle
ferror(handle)
move the current position in a file
fseek(handle,n)
move the current position in a file, counting backwards from the end of the file
fseek_from_end(handle,n)
get the size of a file
fsize(handle)
read a string line from a file
fgets(handle)
test if the position of the end of the file
feof(handle)
close the file associated with the handle
fclose(handle)
move the position back to the start of the file
rewind(handle)