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

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

Changed CRLF -> NL.
Shit.

  • Property cvs2svn:cvs-rev set to 1.4
  • 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.