bugGNU Octave - Bugs: bug #41517, Add an ftruncate function to...


bug #41517: Add an ftruncate function to complement existing C-style I/O

Submitted by:  Mike Miller <mtmiller>
Submitted on:  Sat 08 Feb 2014 10:51:02 PM UTC  
Category: Octave FunctionSeverity: 1 - Wish
Priority: 5 - NormalItem Group: Feature Request
Status: NoneAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating System: Any

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sat 08 Feb 2014 10:51:02 PM UTC, original submission:

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

Mike Miller <mtmiller>
Project Administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by mtmiller (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    No Changes Have Been Made to This Item

    Back to the top

    Powered by Savane 3.1-cleanup1