Args: | |||
_ obj | : XCLE_Object to print | ||
_ fd | : output file descriptor output file descriptor |
Returns: | |||
_ -1 | : if some error occurred | ||
else the total number of characters printed |
Errors: | |||
_ EINVAL | : if a NULL XCLE_Object was passed as argument | ||
or any error generated by the 'write' system call on file descriptor 'fd' |
Args: | |||
_ vd | : XCLE_Void to print | ||
_ fd | : output file descriptor output file descriptor |
Returns: | |||
_ NULL | : if no memory was available | ||
else the total number of characters printed |
Errors: | |||
_ EINVAL | : if a NULL was passed as argument | ||
or any error generated by the 'write' system call on file descriptor 'fd' |
Args: | |||
_ in | : XCLE_Intg to print | ||
_ fd | : output file descriptor output file descriptor |
Returns: | |||
_ NULL | : if no memory was available | ||
else the total number of characters printed |
Errors: | |||
_ EINVAL | : if a NULL was passed as argument | ||
or any error generated by the 'write' system call on file descriptor 'fd' |
Args: | |||
_ fp | : XCLE_Fltp to print | ||
_ fd | : output file descriptor |
Returns: | |||
_ NULL | : if no memory was available |
Errors: | |||
_ EINVAL | : if a NULL was passed as argument | ||
or any error generated by the 'write' system call on file descriptor 'fd' |
Args: | |||
_ str | : XCLE_Strg to print | ||
_ fd | : output file descriptor |
Returns: | |||
_ NULL | : if no memory was available |
Errors: | |||
_ EINVAL | : if a NULL was passed as argument | ||
or any error generated by the 'write' system call on file descriptor 'fd' |
Args: | |||
_ lst | : XCLE_List to print | ||
_ fd | : output file descriptor |
Returns: | |||
_ NULL | : if no memory was available |
Errors: | |||
_ EINVAL | : if a NULL was passed as argument | ||
or any error generated by the 'write' system call on file descriptor 'fd' |
Args: | |||
_ cod | : XCLE_Code to print | ||
_ fd | : output file descriptor |
Returns: | |||
_ NULL | : if no memory was available |
Errors: | |||
_ EINVAL | : if a NULL was passed as argument | ||
or any error generated by the 'write' system call on file descriptor 'fd' |
Args: | |||
_ obj | : XCLE_Object to print | ||
_ os | : output stream output file descriptor |
Returns: | |||
_ -1 | : if some error occurred | ||
else the total number of characters printed |
Errors: | |||
_ EINVAL | : if a NULL XCLE_Object was passed as argument | ||
or any error generated by the 'fwrite' system call on stream 'os' |
Args: | |||
_ vd | : XCLE_Void to print | ||
_ os | : output stream output file descriptor |
Returns: | |||
_ NULL | : if no memory was available | ||
else the total number of characters printed |
Errors: | |||
_ EINVAL | : if a NULL was passed as argument | ||
or any error generated by the 'fwrite' system call on stream 'os' |
Args: | |||
_ in | : XCLE_Intg to print | ||
_ os | : output stream output file descriptor |
Returns: | |||
_ NULL | : if no memory was available | ||
else the total number of characters printed |
Errors: | |||
_ EINVAL | : if a NULL was passed as argument | ||
or any error generated by the 'fwrite' system call on stream 'os' |
Args: | |||
_ fp | : XCLE_Fltp to print | ||
_ os | : output stream |
Returns: | |||
_ NULL | : if no memory was available |
Errors: | |||
_ EINVAL | : if a NULL was passed as argument | ||
or any error generated by the 'fwrite' system call on stream 'os' |
Args: | |||
_ str | : XCLE_Strg to print | ||
_ os | : output stream |
Returns: | |||
_ NULL | : if no memory was available |
Errors: | |||
_ EINVAL | : if a NULL was passed as argument | ||
or any error generated by the 'fwrite' system call on stream 'os' |
Args: | |||
_ lst | : XCLE_List to print | ||
_ os | : output stream |
Returns: | |||
_ NULL | : if no memory was available |
Errors: | |||
_ EINVAL | : if a NULL was passed as argument | ||
or any error generated by the 'fwrite' system call on stream 'os' |
Args: | |||
_ cod | : XCLE_Code to print | ||
_ os | : output stream |
Returns: | |||
_ NULL | : if no memory was available |
Errors: | |||
_ EINVAL | : if a NULL was passed as argument | ||
or any error generated by the 'fwrite' system call on stream 'os' |
Args: | |||
_ stk | : XCLE_Stack | ||
_ fd | : file descriptor | ||
_ head | : head string | ||
_ rowfmt | : row printing format | ||
_ tail | : tail string | ||
_ rows | : number of rows (height in chars) |
Returns: | |||
_ -1 | : if some error occurred | ||
else the number of characters printed. |
Errors: | |||
_ EINVAL | : if a NULL XCLE_Stack was passed as argument |
Args: | |||
_ hsh | : XCLE_Hash | ||
_ fd | : file descriptor | ||
_ head | : head string | ||
_ rowfmt | : row printing format | ||
_ tail | : tail string | ||
_ rows | : number of rows (height in chars) |
Returns: | |||
_ -1 | : if some error occurred | ||
else the number of characters printed. |
Errors: | |||
_ EINVAL | : if a NULL XCLE_Hash was passed as argument |
Args: | |||
_ stk | : XCLE_Stack | ||
_ os | : output stream | ||
_ head | : head string | ||
_ rowfmt | : row printing format | ||
_ tail | : tail string | ||
_ rows | : number of rows (height in chars) |
Returns: | |||
_ -1 | : if some error occurred | ||
else the number of characters printed. |
Errors: | |||
_ EINVAL | : if a NULL XCLE_Stack was passed as argument |
Args: | |||
_ hsh | : XCLE_Hash | ||
_ os | : output stream | ||
_ head | : head string | ||
_ rowfmt | : row printing format | ||
_ tail | : tail string | ||
_ rows | : number of rows (height in chars) |
Returns: | |||
_ -1 | : if some error occurred | ||
else the number of characters printed. |
Errors: | |||
_ EINVAL | : if a NULL XCLE_Hash was passed as argument |
Args: | |||
_ contx | : parsing context | ||
_ fd | : file descriptor to read from | ||
_ ln | : line number |
Returns: | |||
_ NULL | : if an IO error or a syntax error occured | ||
else one parsed object from the stream. |
Errors: | |||
_ EBADF | : an invalid file descriptor war specified | ||
_ EIO | : a read error occured | ||
_ ENOMEM | : no memory was available | ||
_ EINVAL | : a syntax error occured |
Note: | |||
Do not rely on the file descriptor offset to be anywhere usable or in relation | |||
to the data read. The buffering scheme used does not allow this. This is a BUG, | |||
and will be corrected in the future by repositioning the stream offset on file | |||
streams. Pipe streams will remain bugged until FILE* reading is implemented. |
Args: | |||
_ contx | : parsing context | ||
_ fd | : file descriptor to read from | ||
_ ln | : line number |
Returns: | |||
_ NULL | : if an IO error or a syntax error occured | ||
else the parsed List. |
Errors: | |||
_ EBADF | : an invalid file descriptor war specified | ||
_ EIO | : a read error occured | ||
_ ENOMEM | : no memory was available | ||
_ EINVAL | : a syntax error occured |
Note: | |||
Do not rely on the file descriptor offset to be anywhere usable or in relation | |||
to the data read. The buffering scheme used does not allow this. This is a BUG, | |||
and will be corrected in the future by repositioning the stream offset on file | |||
streams. Pipe streams will remain bugged until FILE* reading is implemented. |