source: trunk/src/emx/src/lib/sys/pause.c@ 146

Last change on this file since 146 was 146, checked in by zap, 23 years ago

Changed to _STD most standard functions.
Added the rules to build c_alias.a from all declared _STD functions
removed a lot of obsolete stuff.
changed crt0.s and dll0.s since we don't EMX anymore.

  • Property cvs2svn:cvs-rev set to 1.3
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 306 bytes
Line 
1/* sys/pause.c (emx+gcc) -- Copyright (c) 1996 by Eberhard Mattes */
2
3#include "libc-alias.h"
4#define INCL_DOSPROCESS
5#include <os2emx.h>
6#include <emx/syscalls.h>
7#include <errno.h>
8#include "syscalls.h"
9
10int _STD(pause) (void)
11{
12 while (DosSleep (0xffffffff) == 0)
13 ;
14 errno = EINTR;
15 return -1;
16}
Note: See TracBrowser for help on using the repository browser.