![Netscape ENTERPRISE SERVER 6.1 Скачать руководство пользователя страница 185](http://html1.mh-extra.com/html/netscape/enterprise-server-6-1/enterprise-server-6-1_manual_1674653185.webp)
NSAPI Functions (in Alphabetical Order)
Chapter
5
NSAPI Function Reference
185
Returns
The system-independent file descriptor (
SYS_FILE
) if the open succeeded or 0 if the
open failed.
Parameters
char *path
is the file name.
See also
system_errmsg, system_fopenRO, system_fopenRW, system_lseek,
system_fread, system_fwrite, system_fwrite_atomic, system_flock,
system_ulock, system_fclose
system_fread
The
system_fread
function reads a specified number of bytes from a specified file
into a specified buffer. It returns the number of bytes read. Before
system_fread
can be used, you must open the file using any of the
system_fopen
functions,
except
system_fopenWA
.
Syntax
int system_fread(SYS_FILE fd, char *buf, int sz);
Returns
The number of bytes read, which may be less than the requested size if an error
occurred or the end of the file was reached before that number of characters were
obtained.
Parameters
SYS_FILE fd
is the platform-independent file descriptor.
char *buf
is the buffer to receive the bytes.
int sz
is the number of bytes to read.
See also
system_errmsg, system_fopenRO, system_fopenRW, system_fopenWA,
system_lseek, system_fwrite, system_fwrite_atomic, system_flock,
system_ulock, system_fclose
system_fwrite
The
system_fwrite
function writes a specified number of bytes from a specified
buffer into a specified file.
Содержание ENTERPRISE SERVER 6.1
Страница 1: ...NSAPI Programmer s Guide Netscape Enterprise Server Version6 1 April 2002 Draft...
Страница 18: ...Where to Find Related Information 18 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 138: ...CGI to NSAPI Conversion 138 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 214: ...NSAPI Functions in Alphabetical Order 214 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 290: ...Miscellaneous 290 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 310: ...The Netscape LDAP Schema 310 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 318: ...cinfo 318 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 324: ...Sample MIME Types File 324 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 336: ...Buffered Streams 336 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 344: ...344 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 350: ...350 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 356: ...356 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...