Changeset 5a6c28d1 in mainline for uspace/lib/c/generic/stdio/sscanf.c


Ignore:
Timestamp:
2018-06-13T15:50:53Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
39f84ce4
Parents:
f47a905
git-author:
Jiri Svoboda <jiri@…> (2018-06-12 17:50:36)
git-committer:
Jiri Svoboda <jiri@…> (2018-06-13 15:50:53)
Message:

Replace libposix scanf with libc scanf.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/stdio/sscanf.c

    rf47a905 r5a6c28d1  
    4040#include "../private/sstream.h"
    4141
    42 int xxvsscanf(const char *s, const char *fmt, va_list ap)
     42int vsscanf(const char *s, const char *fmt, va_list ap)
    4343{
    4444        FILE f;
    4545
    4646        __sstream_init(s, &f);
    47         return xxvfscanf(&f, fmt, ap);
     47        return vfscanf(&f, fmt, ap);
    4848}
    4949
    50 int xxsscanf(const char *s, const char *fmt, ...)
     50int sscanf(const char *s, const char *fmt, ...)
    5151{
    5252        va_list args;
     
    5454
    5555        va_start(args, fmt);
    56         rc = xxvsscanf(s, fmt, args);
     56        rc = vsscanf(s, fmt, args);
    5757        va_end(args);
    5858
Note: See TracChangeset for help on using the changeset viewer.