5.3. Using writev |
---|
INN makes extensive use the writev system call to write several I/O buffers in a single call. If you do not have writev then you must copy include/uio.h to your /usr/include/sys directory. You must also add ``writev.c'' and ``writev.o'' to the MISSING_SRC and MISSING_OBJ parameters. The ``fake'' writev found in the lib directory is not highly efficient. You might want to write a better one that tries to malloc a new buffer and join all the elements. Be careful about doing this because innd can use very big buffers. |
[Source:"Installing InterNetNews 1.5.1"] [File-name:install.ms.1][Revision: 1.19 1996/11/10] [Copyright: 1991 Rich Salz, 1996 Internet Software Consortium] |