2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
7 #include <proto/exec.h>
8 #include <dos/dosextens.h>
10 #include "dos_intern.h"
12 /*****************************************************************************
15 #include <proto/dos.h>
17 AROS_LH1(LONG
, PutStr
,
20 AROS_LHA(CONST_STRPTR
, string
, D1
),
24 struct DosLibrary
*, DOSBase
, 158, Dos
)
27 This routine writes an unformatted string to the default output. No
28 newline is appended to the string and any error is returned. This
32 str - Null-terminated string to be written to default output
35 error - 0 for success, -1 for any error.
40 *****************************************************************************/
44 BPTR file
=((struct Process
*)FindTask(NULL
))->pr_COS
;
46 return(FPuts(file
, string
));