You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ig...@apache.org on 2012/10/27 13:46:33 UTC
git commit: consistent (correct) naming of functions. Consistent
(working) punctuation for nroff.
Updated Branches:
refs/heads/master 423add3f0 -> c847b2cf4
consistent (correct) naming of functions. Consistent (working) punctuation for nroff.
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/c847b2cf
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/c847b2cf
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/c847b2cf
Branch: refs/heads/master
Commit: c847b2cf487d959388315b3a7f4af07269375502
Parents: 423add3
Author: Igor Galic <i....@brainsware.org>
Authored: Fri Oct 26 09:41:07 2012 +0200
Committer: Igor Galic <i....@brainsware.org>
Committed: Fri Oct 26 09:41:07 2012 +0200
----------------------------------------------------------------------
doc/sdk/TSMalloc.3 | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/c847b2cf/doc/sdk/TSMalloc.3
----------------------------------------------------------------------
diff --git a/doc/sdk/TSMalloc.3 b/doc/sdk/TSMalloc.3
index 53d5295..51b7e20 100644
--- a/doc/sdk/TSMalloc.3
+++ b/doc/sdk/TSMalloc.3
@@ -75,8 +75,8 @@ memory. These routines correspond to similar routines in the C
library. For example,
.Fn TSrealloc
behaves like the C library routine
-.Fn realloc
-\. There are two reasons to use the routines provided by
+.Fn realloc .
+There are two reasons to use the routines provided by
Traffic Server. The first is portability. The Traffic Server API routines
behave the same on all of Traffic Server’s supported platforms. For
example,
@@ -87,16 +87,16 @@ actually track the memory allocations by file and line number. This
tracking is very efficient, is always turned on, and is useful for
tracking down memory leaks.
-.Fn TSMalloc
+.Fn TSmalloc
returns a pointer to
.Fa size
bytes of memory allocated from the heap. Traffic Server uses
-.Fn TSMalloc
+.Fn TSmalloc
internally for memory allocations.
Always use
-.Fn TSFree
+.Fn TSfree
to release memory allocated by
-.Fn TSMalloc ; do not
+.Fn TSmalloc ; do not
use
.Fn free .
@@ -137,7 +137,7 @@ appends the NULL-terminated string src to the end of dst. It will append at most
.Fa size
- strlen(dst) - 1 bytes, NULL-terminating the result.
-.Fn TSFree
+.Fn TSfree
releases the memory allocated by
.Fn Tsmalloc
or