:pserver:cvsanon@mok.lvcm.com:/CVS/ReactOS reactos
[reactos.git] / lib / crtdll / misc / amsg.c
1 /*
2  * COPYRIGHT:   See COPYING in the top level directory
3  * PROJECT:     ReactOS system libraries
4  * FILE:        lib/crtdll/conio/kbhit.c
5  * PURPOSE:     Checks for keyboard hits
6  * PROGRAMER:   Boudewijn Dekker
7  * UPDATE HISTORY:
8  *              28/12/98: Created
9  */
10 #include <crtdll/stdlib.h>
11 #include <crtdll/stdio.h>
12 #include <crtdll/string.h>
13
14 int  _aexit_rtn_dll(int exitcode)
15 {
16         _exit(exitcode);
17 }
18
19 void _amsg_exit (int errnum)
20 {
21         fprintf(stderr,strerror(errnum));
22         _aexit_rtn_dll(-1);      
23 }
24