|
| From: | Mike Miller |
| Subject: | [Octave-bug-tracker] [bug #41517] Add an ftruncate function to complement existing C-style I/O |
| Date: | Sat, 08 Feb 2014 22:51:03 +0000 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36 |
URL:
<http://savannah.gnu.org/bugs/?41517>
Summary: Add an ftruncate function to complement existing
C-style I/O
Project: GNU Octave
Submitted by: mtmiller
Submitted on: Sat 08 Feb 2014 05:51:02 PM EST
Category: Octave Function
Severity: 1 - Wish
Priority: 5 - Normal
Item Group: Feature Request
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
Many C standard library I/O functions are available in the Octave shell, but
ftruncate is not one of them. There is no such Matlab function, but this might
be a nice addition to the I/O builtins.
The ftruncate function is provided by gnulib so implementing this should be an
easy wrapper. Might be a nice project for a beginner?
See this thread:
http://octave.1599824.n4.nabble.com/How-to-truncate-a-file-after-partly-overwriting-it-td4661758.html
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41517>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |