From 8efde1fa9f93d1ca80e280023b4bf2abdb492e95 Mon Sep 17 00:00:00 2001 From: Brian Carrier <carrier@sleuthkit.org> Date: Mon, 17 Jun 2013 09:08:22 -0400 Subject: [PATCH] fixed docs related to tsk_malloc. Closes #193 --- tsk/base/mymalloc.c | 40 +--------------------------------------- 1 file changed, 1 insertion(+), 39 deletions(-) diff --git a/tsk/base/mymalloc.c b/tsk/base/mymalloc.c index 4962a3404..d19fd425f 100644 --- a/tsk/base/mymalloc.c +++ b/tsk/base/mymalloc.c @@ -11,45 +11,7 @@ * when an error occurs. */ -/*++ -* NAME -* tsk_malloc 3 -* SUMMARY -* memory management wrappers -* SYNOPSIS -* #include <tsk_malloc.h> -* -* char *tsk_malloc(len) -* int len; -* -* char *tsk_realloc(ptr, len) -* char *ptr; -* int len; -* -* char *mystrdup(str) -*const char *str; -*DESCRIPTION -* This module performs low-level memory management with error -* handling. A call of these functions either succeeds or it does -* not return at all. -* -* tsk_malloc() allocates the requested amount of memory. The memory -* is not set to zero. -* -* tsk_realloc() resizes memory obtained from tsk_malloc() or tsk_realloc() -* to the requested size. The result pointer value may differ from -* that given via the \fBptr\fR argument. -* -* mystrdup() returns a dynamic-memory copy of its null-terminated -* argument. This routine uses tsk_malloc(). -* SEE ALSO -* error(3) error reporting module. -* DIAGNOSTICS -* Fatal errors: the requested amount of memory is not available. -* LICENSE -* .ad -* .fi -* The IBM Public Licence must be distributed with this software. +/* The IBM Public Licence must be distributed with this software. * AUTHOR(S) * Wietse Venema * IBM T.J. Watson Research -- GitLab