2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
13 #include <aros/debug.h>
15 /*****************************************************************************
26 Execute a command string. If string is NULL then 1 will be returned.
29 string - command to execute or NULL
32 Return value of command executed. If value < 0 errno indicates error.
33 1 is return if string is NULL.
36 The system() version of stdcio.library just passes the command
37 to SystemTags() dos.library call.
47 ******************************************************************************/
52 return 1; /* We have AmigaShell */
54 ret
= (int)SystemTags(string
, NULL
);
57 errno
= __stdc_ioerr2errno(IoErr());