Home :: International :: Manuals :: Howto :: FAQ :: Man Pages :: Email Login

 
 

 

ALLOCA

Section: Bibliotheksfunktionen (3)
Updated: 3. März 1999
Index Return to Main Contents
 

BEZEICHNUNG

alloca - Speicherzuweisung  

ÜBERSICHT

#include <stdlib.h>

void *alloca( size_t size);  

BESCHREIBUNG

Die Funktion alloca weist dem Aufrufenden size Bytes auf dem Stack zu. Dieser temporäre Bereich wird bei der Rückgabe automatisch freigegeben.  

RÜCKGABEWERT

Die Funktion alloca gibt einen Zeiger auf den Anfang des zugewiesenen Bereiches zurück. Wenn die Zuweisung fehlschlug, wird ein NULL -Zeiger zurückgegeben.  

KONFORM ZU

Es ist bekannt, daß die Funktion alloca in 32v, pwb, pwb.2, 3bsd und 4bsd vorhanden ist. Es gibt eine Manpage für sie unter BSD 4.3. Linux verwendet die GNU-Version.  

FEHLER

Die Funktion alloca ist abhängig von der Rechnerarchitektur.  

SIEHE AUCH

brk(2), pagesize(2), calloc(3), malloc(3), realloc(3).


 

Index

BEZEICHNUNG
ÜBERSICHT
BESCHREIBUNG
RÜCKGABEWERT
KONFORM ZU
FEHLER
SIEHE AUCH

 
 
 
 
Google
  Web Linuxinfor   
 

Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account

Document on this page is part of "Linuxinfor Man Pages in HTML Format: man3". See Index Page for more info about Authorship and Copyright.

1999-2008 Linuxinfor.com. No rights reserved.