Changeset 9d8307a in mainline for uspace/lib/c/generic/stdio/sstream.c


Ignore:
Timestamp:
2018-07-19T11:55:19Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0d83cf6f
Parents:
42f5860
git-author:
Jiri Svoboda <jiri@…> (2018-07-18 17:54:45)
git-committer:
Jiri Svoboda <jiri@…> (2018-07-19 11:55:19)
Message:

Reimplement strtold function in libc.

File:
1 edited

Legend:

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

    r42f5860 r9d8307a  
    9999}
    100100
     101/** Return current string stream position.
     102 *
     103 * @param stream String stream
     104 * @return Pointer into the backing string at the current position
     105 */
     106const char *__sstream_getpos(FILE *stream)
     107{
     108        assert(stream->ops == &stdio_str_ops);
     109        return (char *) stream->arg;
     110}
     111
    101112/** @}
    102113 */
Note: See TracChangeset for help on using the changeset viewer.