source: trunk/src/emx/src/lib/malloc/expand.c@ 1454

Last change on this file since 1454 was 1454, checked in by bird, 21 years ago

Joined with the fork() tree from netlabs.cvs.

  • Property cvs2svn:cvs-rev set to 1.4
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 475 bytes
Line 
1/* expand.c (emx+gcc) -- Copyright (c) 1996 by Eberhard Mattes */
2
3#include "libc-alias.h"
4#include <stdlib.h>
5#include <stddef.h>
6#include <umalloc.h>
7#include <sys/builtin.h> /* For <sys/fmutex.h> */
8#include <sys/fmutex.h>
9#include <emx/umalloc.h>
10
11/* this is not a standard function! Thus the prototype. */
12void *expand (void *block, size_t new_size);
13
14void *_STD(expand) (void *block, size_t new_size)
15{
16 return _um_realloc (block, new_size, 4, _UMFI_NOMOVE);
17}
Note: See TracBrowser for help on using the repository browser.