Changeset ef84413 in mainline for uspace/lib/posix/src/stdio.c


Ignore:
Timestamp:
2018-09-25T18:33:23Z (6 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
dc68f72
Parents:
5e6b76d
git-author:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-09-25 17:42:45)
git-committer:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-09-25 18:33:23)
Message:

libposix: Correctly disambiguate other uses of off_t

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/src/stdio.c

    r5e6b76d ref84413  
    3434/** @file Standard buffered input/output.
    3535 */
     36
     37#define _LARGEFILE64_SOURCE
     38#undef _FILE_OFFSET_BITS
    3639
    3740#include "internal/common.h"
     
    181184int fseeko(FILE *stream, off_t offset, int whence)
    182185{
    183         return fseek64(stream, offset, whence);
     186        return fseek(stream, offset, whence);
    184187}
    185188
     
    191194 */
    192195off_t ftello(FILE *stream)
     196{
     197        return ftell(stream);
     198}
     199
     200int fseeko64(FILE *stream, off64_t offset, int whence)
     201{
     202        return fseek64(stream, offset, whence);
     203}
     204
     205off64_t ftello64(FILE *stream)
    193206{
    194207        return ftell64(stream);
Note: See TracChangeset for help on using the changeset viewer.