mlib update: new isnan()/isnanf() implementation
[tangerine.git] / compiler / clib / system.c
blobadc0a029f6647a0ec140b684fed756de89948cf5
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 ANSI C function system().
6 */
8 #include <utility/tagitem.h>
9 #include <dos/dos.h>
10 #include <proto/dos.h>
12 /*****************************************************************************
14 NAME */
15 #include <stdlib.h>
17 int system (
19 /* SYNOPSIS */
20 const char *string)
22 /* FUNCTION
24 INPUTS
26 RESULT
28 NOTES
30 EXAMPLE
32 BUGS
34 SEE ALSO
36 INTERNALS
38 ******************************************************************************/
40 static struct TagItem list[]={ { TAG_END,0 } }; /* No Tags */
42 if (string == NULL)
44 return 1;
46 else
48 return (UBYTE)SystemTagList ((char *)string, list);
51 } /* system */