![Netscape ENTERPRISE SERVER 6.1 Скачать руководство пользователя страница 129](http://html1.mh-extra.com/html/netscape/enterprise-server-6-1/enterprise-server-6-1_manual_1674653129.webp)
Overview of NSAPI C Functions
Chapter
4
Creating Custom SAFs
129
File I/O
The file I/O functions provides platform-independent, thread-safe file I/O
routines.
•
system_fopenRO
opens a file for read-only access.
•
system_fopenRW
opens a file for read-write access, creating the file if
necessary.
•
system_fopenWA
opens a file for write-append access, creating the file if
necessary.
•
system_fclose
closes a file.
•
system_fread
reads from a file.
•
system_fwrite
writes to a file.
•
system_fwrite_atomic
locks the given file before writing to it. This avoids
interference between simultaneous writes by multiple processes or threads.
Network I/O
Network I/O functions provide platform-independent, thread-safe network I/O
routines. These routines work with SSL when it’s enabled.
•
netbuf_grab
reads from a network buffer’s socket into the network buffer.
•
netbuf_getc
gets a character from a network buffer.
•
net_write
writes to the network socket.
Threads
Thread functions include functions for creating your own threads which are
compatible with the server’s threads. There are also routines for critical sections
and condition variables.
•
systhread_start
creates a new thread.
•
systhread_sleep
puts a thread to sleep for a given time.
•
crit_init
creates a new critical section variable.
•
crit_enter
gains ownership of a critical section.
Содержание 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...