2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
5 Desc: DosGetString() - Support for localized strings.
9 #include "dos_intern.h"
11 /*****i***********************************************************************
14 #include <proto/dos.h>
16 AROS_LH1(STRPTR
, DosGetString
,
19 AROS_LHA(LONG
, stringNum
, D1
),
22 struct DosLibrary
*, DOSBase
, 163, Dos
)
25 Internal DOS function, will return the string corresponding to
29 stringNum - The number of the string you want.
32 A pointer to a string, or NULL if no string could be found with
36 Error strings will ALWAYS be less than 80 characters, and should
37 ideally be less than 60 characters.
39 This is a private function, whose the only purpose is to be patched
51 ******************************************************************************/
55 LONG
*p
= DOSBase
->dl_Errors
->estr_Nums
;
56 UBYTE
*q
= DOSBase
->dl_Errors
->estr_Strings
;
76 return "undefined error";