| Anonymous | Login | Signup for a new account | 2013-05-24 22:57 CEST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||
| 0005915 | OCaml | OCaml standard library | public | 2013-02-05 03:29 | 2013-03-24 15:34 | |||
| Reporter | berenger | |||||||
| Assigned To | ||||||||
| Priority | normal | Severity | feature | Reproducibility | N/A | |||
| Status | closed | Resolution | no change required | |||||
| Platform | all POSIX compliant ones | OS | OS Version | |||||
| Product Version | 4.00.1 | |||||||
| Target Version | Fixed in Version | |||||||
| Summary | 0005915: No ftell in the Unix module while there is an lseek | |||||||
| Description | Hello, It is a little cumbersome for system programming that there is no ftell in the Unix module. Regards, Francois. | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Notes |
|
|
(0008819) berenger (reporter) 2013-02-05 03:31 |
If it has a chance for inclusion in the source tree, I can provide a patch to add it, so that lseek feels less lonely. |
|
(0008826) chambart (reporter) 2013-02-07 10:56 |
The unix library uses file descriptors, not streams. ftell is a stream function. If you want to know the current offset of a file descritor, use: lseek fd 0 SEEK_CUR |
|
(0008829) berenger (reporter) 2013-02-08 01:56 |
I see. Thanks! It's OK to close my stupid request then. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2013-02-05 03:29 | berenger | New Issue | |
| 2013-02-05 03:31 | berenger | Note Added: 0008819 | |
| 2013-02-07 10:56 | chambart | Note Added: 0008826 | |
| 2013-02-08 01:56 | berenger | Note Added: 0008829 | |
| 2013-03-24 15:34 | xleroy | Status | new => closed |
| 2013-03-24 15:34 | xleroy | Resolution | open => no change required |
| Copyright © 2000 - 2011 MantisBT Group |