www.delorie.com/djgpp/doc/libc/libc_743.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

stackavail

Syntax

 
#include <stdlib.h>

int stackavail(void);

Description

This function returns the number of bytes that are available on the stack.

Portability

ANSI/ISO C No
POSIX No

Example

 
printf("Available stack size is %d bytes\n", stackavail());

  webmaster     delorie software   privacy  
  Copyright © 2004     Updated Apr 2004