summaryrefslogtreecommitdiff
path: root/APRDesign
diff options
context:
space:
mode:
authordgaudet <dgaudet@13f79535-47bb-0310-9956-ffa450edef68>2000-06-10 00:44:46 +0000
committerdgaudet <dgaudet@13f79535-47bb-0310-9956-ffa450edef68>2000-06-10 00:44:46 +0000
commiteb7ec824ee3bb42f679828fec1f14b18620d034e (patch)
tree07ed6a76c4b7b3801ab7927c63a7f89943cdb829 /APRDesign
parent09168217f9720d6c5917ca5ea0551cc25ea55966 (diff)
downloadlibapr-eb7ec824ee3bb42f679828fec1f14b18620d034e.tar.gz
fix a typo and add a pointer in comments so folks know where to find
out what ap_canonical_error does. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60158 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'APRDesign')
-rw-r--r--APRDesign4
1 files changed, 2 insertions, 2 deletions
diff --git a/APRDesign b/APRDesign
index 905f94568..2a5ffa6b4 100644
--- a/APRDesign
+++ b/APRDesign
@@ -254,7 +254,7 @@ APR_OS_START_SYSERR, those codes are reserved for APR applications.
To programmatically correct an error in a running application, the error codes
need to be consistent across platforms. This should make sense. To get
-consistent error codes, APR provides a function ap_canonicalize_error().
+consistent error codes, APR provides a function ap_canonical_error().
This function will take as input any ap_status_t value, and return a small
subset of canonical APR error codes. These codes will be equivalent to
Unix errno's. Why is it a small subset? Because we don't want to try to
@@ -303,7 +303,7 @@ Using option 2:
make syscall that fails
return error code
- convert to common error code (using ap_canonicalize_error)
+ convert to common error code (using ap_canonical_error)
decide execution based on common error code
Finally, there is one more operation on error codes. You can get a string