diff options
Diffstat (limited to 'nuttx/mm/mm_calloc.c')
-rw-r--r-- | nuttx/mm/mm_calloc.c | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/nuttx/mm/mm_calloc.c b/nuttx/mm/mm_calloc.c index 47c75d42f..576081a16 100644 --- a/nuttx/mm/mm_calloc.c +++ b/nuttx/mm/mm_calloc.c @@ -1,8 +1,8 @@ -/************************************************************************ - * mm_calloc.c +/**************************************************************************** + * mm/mm_calloc.c * * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt <spudmonkey@racsa.co.cr> + * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -31,29 +31,30 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include "mm_environment.h" #include "mm_internal.h" -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Global Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ - * calloc +/**************************************************************************** + * Name: calloc * * Descripton: - * calloc calculates the size and calls zalloc - ************************************************************************/ + * calloc calculates the size of the allocation and calls zalloc + * + ****************************************************************************/ FAR void *calloc(size_t n, size_t elem_size) { |