www.delorie.com/djgpp/doc/kb/kb_15.html   search  
DJGPP Knowledge Base

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

5.3.3 Far pointers usage

If a library function uses one of the _far* far pointer functions, it should include `libc/farptrgs.h' instead of `sys/farptr.h'. The inline functions in `farptrgs.h' use the GS register instead of FS, to avoid clobbering FS which might be used by the application.


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2004   by DJ Delorie     Updated Nov 2004