2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
7 #include <aros/debug.h>
9 #include <proto/exec.h>
10 #include <dos/dosextens.h>
12 #include "dos_intern.h"
14 /*****************************************************************************
17 #include <proto/dos.h>
19 AROS_LH1(LONG
, PutStr
,
22 AROS_LHA(CONST_STRPTR
, string
, D1
),
26 struct DosLibrary
*, DOSBase
, 158, Dos
)
29 This routine writes an unformatted string to the default output. No
30 newline is appended to the string and any error is returned. This
34 str - Null-terminated string to be written to default output
37 error - 0 for success, -1 for any error.
42 *****************************************************************************/
46 struct Process
*me
= (struct Process
*)FindTask(NULL
);
49 ASSERT_VALID_PROCESS(me
);
53 return(FPuts(file
, string
));