File IO module Instructions manual |
OKit: Object Tree, RPL Virtual Machine and compiler shared library Copyright (C) 2000 Yann LANDRIN-SCHWEITZER This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Author: Yann LANDRIN-SCHWEITZER Contact: varkhan@free.fr Homepage: http://varkhan.free.fr/ |
OKit_Objects File-descriptor Printing |
Args | ||||
_obj | : | OKit_Object to print | ||
_fd | : | output file descriptor |
Returns | ||||
_-1 | : | if some error occurred | ||
else the total number of characters printed |
Errors | ||||
_EINVAL | : | if a NULL OKit_Object was passed as argument | ||
or any error generated by the 'write' system call on file descriptor 'fd' |
Args | ||||
_vd | : | |||
_fd | : |
Returns | ||||
_NULL | : | if no memory was available |
Errors | ||||
_EINVAL | : | if a NULL was passed as argument | ||
_ENOMEM | : | if no memory was available |
Args | ||||
_in | : | |||
_fd | : |
Returns | ||||
_NULL | : | if no memory was available |
Errors | ||||
_EINVAL | : | if a NULL was passed as argument | ||
_ENOMEM | : | if no memory was available |
Args | ||||
_fp | : | |||
_fd | : |
Returns | ||||
_NULL | : | if no memory was available |
Errors | ||||
_EINVAL | : | if a NULL was passed as argument | ||
_ENOMEM | : | if no memory was available |
Args | ||||
_str | : | |||
_fd | : |
Returns | ||||
_NULL | : | if no memory was available |
Errors | ||||
_EINVAL | : | if a NULL was passed as argument | ||
_ENOMEM | : | if no memory was available |
Args | ||||
_lst | : | |||
_fd | : |
Returns | ||||
_NULL | : | if no memory was available |
Errors | ||||
_EINVAL | : | if a NULL was passed as argument | ||
_ENOMEM | : | if no memory was available |
Args | ||||
_cod | : | |||
_fd | : |
Returns | ||||
_NULL | : | if no memory was available |
Errors | ||||
_EINVAL | : | if a NULL was passed as argument | ||
_ENOMEM | : | if no memory was available |
Args | ||||
_blt | : | |||
_fd | : |
Returns | ||||
_NULL | : | if no memory was available |
Errors | ||||
_EINVAL | : | if a NULL was passed as argument | ||
_ENOMEM | : | if no memory was available |
OKit_Stack and OKit_NameSpace File-descriptor Printing |
Args | ||||
_stk | : | OKit_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 was passed as argument |
Args | ||||
_nms | : | OKit_NameSpace | ||
_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 was passed as argument |