stdarg.h
src/sys/kernel/kpanic.c
src/sys/lib/kprintf.c
src/sys/lib/vsprintf.c
src/sys/lib/kprintf.c
src/sys/include/stdarg.h
src/sys/kernel/kpanic.c
src/sys/lib/vsprintf.c
vaArg
ap
type
((ap)[0] += \ ((sizeof(type) + sizeof(int) - 1) & ~(sizeof(int) - 1)), \ (*(type *) ((ap)[0] \ - ((sizeof(type) + sizeof(int) - 1) & ~(sizeof(int) - 1)) )))
vsprintf
vaEnd
ap
((ap)[0] = 0, (void) 0)
kpanic
kprintf
sprintf
vaStart
ap
parm
((ap)[0] = (char *) &parm \ + ((sizeof(parm) + sizeof(int) - 1) & ~(sizeof(int) - 1)), (void) 0)
kpanic
kprintf
sprintf
char * typedef char* vaList[1] [1] vaList
int int vsprintf (char *buf, const char *fmt, vaList args) vsprintf char * buf const char * fmt vaList args is_digit LEFT number PLUS SIGN skip_atoi SMALL SPACE SPECIAL strlen vaArg ZEROPAD kpanic kprintf sprintf

    /*****************************************************************************************
    Copyright(c)2002-2004TheUbixOSProject
    Allrightsreserved.

    Redistributionanduseinsourceandbinaryforms,withorwithoutmodification,are
    permittedprovidedthatthefollowingconditionsaremet:

    Redistributionsofsourcecodemustretaintheabovecopyrightnotice,thislistof
    conditions,thefollowingdisclaimerandthelistofauthors.Redistributionsinbinary
    formmustreproducetheabovecopyrightnotice,thislistofconditions,thefollowing
    disclaimerandthelistofauthorsinthedocumentationand/orothermaterialsprovided
    withthedistribution.NeitherthenameoftheUbixOSProjectnorthenamesofits
    contributorsmaybeusedtoendorseorpromoteproductsderivedfromthissoftware
    withoutspecificpriorwrittenpermission.

    THISSOFTWAREISPROVIDEDBYTHECOPYRIGHTHOLDERSANDCONTRIBUTORS"ASIS"ANDANY
    EXPRESSORIMPLIEDWARRANTIES,INCLUDING,BUTNOTLIMITEDTO,THEIMPLIEDWARRANTIESOF
    MERCHANTABILITYANDFITNESSFORAPARTICULARPURPOSEAREDISCLAIMED.INNOEVENTSHALL
    THECOPYRIGHTOWNERORCONTRIBUTORSBELIABLEFORANYDIRECT,INDIRECT,INCIDENTAL,
    SPECIAL,EXEMPLARY,ORCONSEQUENTIALDAMAGES(INCLUDING,BUTNOTLIMITEDTO,PROCUREMENT
    OFSUBSTITUTEGOODSORSERVICES;LOSSOFUSE,DATA,ORPROFITS;ORBUSINESSINTERRUPTION)
    HOWEVERCAUSEDANDONANYTHEORYOFLIABILITY,WHETHERINCONTRACT,STRICTLIABILITY,OR
    TORT(INCLUDINGNEGLIGENCEOROTHERWISE)ARISINGINANYWAYOUTOFTHEUSEOFTHIS
    SOFTWARE,EVENIFADVISEDOFTHEPOSSIBILITYOFSUCHDAMAGE.

    $Id: stdarg_8h.xml 88 2016-01-12 00:11:29Z reddawg $

    *****************************************************************************************/

    #ifndef_STDARG_H
    #define_STDARG_H

    typedefchar*vaList[1];

    #definevaStart(ap,parm)((ap)[0]=(char*)&parm\
    +((sizeof(parm)+sizeof(int)-1)&~(sizeof(int)-1)),(void)0)

    #definevaArg(ap,type)((ap)[0]+=\
    ((sizeof(type)+sizeof(int)-1)&~(sizeof(int)-1)),\
    (*(type*)((ap)[0]\
    -((sizeof(type)+sizeof(int)-1)&~(sizeof(int)-1)))))

    #definevaEnd(ap)((ap)[0]=0,(void)0)

    intvsprintf(char*buf,constchar*fmt,vaListargs);

    #endif

    /***
    $Log: stdarg_8h.xml,v $
    Revision 1.6  2006/12/19 14:12:52  reddawg
    rtld-elf almost workign

    Revision1.1.1.12006/06/0112:46:13reddawg
    ubix2

    Revision1.22005/10/1200:13:36reddawg
    Removed

    Revision1.1.1.12005/09/2617:23:38reddawg
    nomessage

    Revision1.22004/05/2115:22:35reddawg
    Cleanedup

    END
    ***/