lkml.org 
[lkml]   [2006]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] Implement kasprintf
    On Tue, Jun 20, 2006 at 04:57:16PM -0700, Jeremy Fitzhardinge wrote:
    > +char *kasprintf(gfp_t gfp, const char *fmt, ...)
    > +{

    Why not just asprintf? We don't have ksprintf...

    % grep EXPORT_SYMBOL lib/vsprintf.c
    EXPORT_SYMBOL(simple_strtoul);
    EXPORT_SYMBOL(simple_strtol);
    EXPORT_SYMBOL(simple_strtoull);
    EXPORT_SYMBOL(vsnprintf);
    EXPORT_SYMBOL(vscnprintf);
    EXPORT_SYMBOL(snprintf);
    EXPORT_SYMBOL(scnprintf);
    EXPORT_SYMBOL(vsprintf);
    EXPORT_SYMBOL(sprintf);
    EXPORT_SYMBOL(vsscanf);
    EXPORT_SYMBOL(sscanf);

    ?

    Cheers,
    Kyle M.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-06-21 05:23    [W:0.021 / U:30.504 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site