martin 99/01/22 13:11:49
Modified: docs apr-function.txt
Log:
Some fixes (pointers for returned values), typos and the addition of
APR_BINARY for file I/O.
Revision Changes Path
1.4 +7 -6 apache-apr/docs/apr-function.txt
Index: apr-function.txt
===================================================================
RCS file: /export/home/cvs/apache-apr/docs/apr-function.txt,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- apr-function.txt 1999/01/22 15:46:49 1.3
+++ apr-function.txt 1999/01/22 21:11:48 1.4
@@ -110,6 +110,7 @@
write
APR_TRUNCATE If the file is there, length is
truncated to 0.
+ APR_BINARY Not a text file.
arg 3) Access permissions to set for the file if it is created with
APR_CREATE. We haven't decided how exactly we want this to
work, but it will support the set of Unix permissions at
@@ -218,7 +219,7 @@
arg 3) type of address
arg 4) returns an APRHostEnt structure that has been filled out
on success. On failure, it returns NULL.
- APRStatusapr_enumeratehostent(APRUInt32, const APRHostEnt *, APRUInt16,
+ APRStatus apr_enumeratehostent(APRUInt32, const APRHostEnt *, APRUInt16,
APRNetAddr *, APRInt32);
Evaluate each of the possible address of a Host Entry retrived from
apr_GetHostByName or apr_GetHostByAddr.
@@ -261,8 +262,8 @@
APRStatus apr_setsocketoption(APRSocket, APRSocketOptionData);
Set options on the specified socket
Arguments:
- arg 1) The abstracted socket to APRply the options to
- arg 2) The options to be APRplied. Or'ed together
+ arg 1) The abstracted socket to apply the options to
+ arg 2) The options to be applied. Or'ed together
APRStatus apr_poll(APRPollDesc, APRInt32, APRInt32, APRInt32)
Check an array of File Descriptors for specified events
Arguments:
@@ -285,7 +286,7 @@
Arguments:
arg 1) The file desc of the socket to mark
arg 2) The size of the listen queue.
- APRStatus apr_accept(APRSocket, APRNetAddr, APSocket)
+ APRStatus apr_accept(APRSocket, APRNetAddr *, APRSocket *)
extract first connection from listen queue, and sets up a new
connection on a new socket of the same type and family. It allocates
a new socket for that connection.
@@ -314,7 +315,7 @@
am using seconds instead of milliseconds, because HTTP says we only
need second granularity, if this is not granular enough, it is easy to
change later.
- APRStatus apr_current_time(APRTime)
+ APRStatus apr_current_time(APRTime *)
Returns the number of seconds since the epoch. define the epoch
as midnight January 1, 1970, UTC.
Arguments:
@@ -347,7 +348,7 @@
Arguments:
arg 1) pointer to the new lock object on success.
APRStatus apr_lock(APRLock)
- Locks the specified lock object
+ Locks the specified lock object (blocking whene necessary)
Arguments:
arg 1) Lock object to be locked.
APRStatus apr_unlock(APRLock);