2 Copyright © 1995-2002, The AROS Development Team. All rights reserved.
8 #include "rexxsyslib_intern.h"
10 /*****************************************************************************
13 #include <clib/rexxsyslib_protos.h>
15 AROS_LH1(ULONG
, LengthArgstring
,
18 AROS_LHA(UBYTE
*, argstring
, A0
),
21 struct Library
*, RexxSysBase
, 23, RexxSys
)
24 This will return the length of a string created with CreateArgstring
27 argstring - Pointer to the string part of a RexxArg structure returned
31 length of the argstring
45 *****************************************************************************/
49 static struct RexxArg dummy
;
52 ra
= (struct RexxArg
*)(argstring
- ((void *)dummy
.ra_Buff
- (void *)&dummy
));
54 ReturnInt("LengthArgstring", ULONG
, ra
->ra_Length
);
56 } /* LengthArgstring */