home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 6
/
Aminet 6 - June 1995.iso
/
Aminet
/
dev
/
gcc
/
libnixV0_8.lha
/
gnu
/
libnix-sources.lha
/
sources
/
amiga
/
misc
/
sprintf.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1994-12-12
|
272 b
|
11 lines
#ifdef __GNUC__
#include <stdarg.h>
#include <inline/exec.h>
static const ULONG tricky=0x16c04e75; /* move.b d0,(a3)+ ; rts */
void sprintf(STRPTR buffer,STRPTR fmt,...)
{ RawDoFmt(fmt,(ULONG *)&fmt+1,(void (*)())&tricky,buffer); } /* Not very clean, but ... */
#endif