Changeset ef84413 in mainline for uspace/lib/c/generic/io/io.c
- Timestamp:
- 2018-09-25T18:33:23Z (6 years ago)
- 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/io/io.c
r5e6b76d ref84413 911 911 912 912 /* The native position is too large for the C99-ish interface. */ 913 if (off > LONG_MAX) 914 return EOF; 913 if (off > LONG_MAX) { 914 errno = EOVERFLOW; 915 return -1; 916 } 915 917 916 918 return off;
Note:
See TracChangeset
for help on using the changeset viewer.