2 Copyright © 1995-2013, 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
),
25 struct DosLibrary
*, DOSBase
, 158, Dos
)
28 This routine writes an unformatted string to the default output. No
29 newline is appended to the string and any error is returned. This
33 str - Null-terminated string to be written to default output
36 error - 0 for success, -1 for any error.
41 *****************************************************************************/
45 struct Process
*me
= (struct Process
*)FindTask(NULL
);
48 ASSERT_VALID_PROCESS(me
);
52 return(FPuts(file
, string
));