![Netscape ENTERPRISE SERVER 6.1 Скачать руководство пользователя страница 186](http://html1.mh-extra.com/html/netscape/enterprise-server-6-1/enterprise-server-6-1_manual_1674653186.webp)
NSAPI Functions (in Alphabetical Order)
186
Netscape Enterprise Server NSAPI Programmer’s Guide • April 2002 (Draft)
Before
system_fwrite
can be used, you must open the file using any of the
system_fopen
functions, except
system_fopenRO
.
Syntax
int system_fwrite(SYS_FILE fd, char *buf, int sz);
Returns
The constant
IO_OKAY
if the write succeeded or the constant
IO_ERROR
if the write
failed.
Parameters
SYS_FILE fd
is the platform-independent file descriptor.
char *buf
is the buffer containing the bytes to be written.
int sz
is the number of bytes to write to the file.
See also
system_errmsg, system_fopenRO, system_fopenRW, system_fopenWA,
system_lseek, system_fread, system_fwrite_atomic, system_flock,
system_ulock, system_fclose
system_fwrite_atomic
The
system_fwrite_atomic
function writes a specified number of bytes from a
specified buffer into a specified file. The function also locks the file prior to
performing the write, and then unlocks it when done, thereby avoiding
interference between simultaneous write actions. Before
system_fwrite_atomic
can be used, you must open the file using any of the
system_fopen
functions,
except
system_fopenRO
.
Syntax
int system_fwrite_atomic(SYS_FILE fd, char *buf, int sz);
Returns
The constant
IO_OKAY
if the write/lock succeeded or the constant
IO_ERROR
if the
write/lock failed.
Parameters
SYS_FILE fd
is the platform-independent file descriptor.
char *buf
is the buffer containing the bytes to be written.
int sz
is the number of bytes to write to the 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...