| www.delorie.com/djgpp/doc/libc/libc_680.html | search |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <pc.h> void ScreenRetrieve(void *buf); |
This function stores a replica of the current primary screen contents in
the buffer pointed to by buf. It assumes without checking that
buf has enough storage to hold the data. The required storage can
be computed as ScreenRows()*ScreenCols()*2 (see section ScreenRows,
see section ScreenCols).
None.
| ANSI/ISO C | No |
| POSIX | No |
unsigned *saved_screen = (unsigned *)alloca(ScreenRows()*ScreenCols()*2; ScreenRetrieve(saved_screen); |
| webmaster donations bookstore | delorie software privacy |
| Copyright © 2004 by DJ Delorie | Updated Apr 2004 |