delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2007/11/30/06:02:00

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: "Markus R. Keßler" <dimke DOT fax AT uni DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Truncate function in gcc
Date: Fri, 30 Nov 2007 11:49:48 +0100
Organization: Credite aut abite!
Lines: 23
Message-ID: <474FEACC.BCFBAF0@uni.de>
NNTP-Posting-Host: 10.148.1.161
Mime-Version: 1.0
X-Trace: daniel-new.mch.sbs.de 1196419788 20329 10.148.1.161 (30 Nov 2007 10:49:48 GMT)
X-Complaints-To: abuse AT siemens DOT de
NNTP-Posting-Date: Fri, 30 Nov 2007 10:49:48 +0000 (UTC)
X-Mailer: Mozilla 4.08 [de] (Win95; U; 16bit)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi all,

I'm just wondering if gcc compiler supports the truncate function known
from perl.
With this call you can strip parts of a file off the end.

The reason behind is, that I'd like to write a little application in c /
c++ to strip off the ID3/V1 information from mp3 files. Of course it is
possible to rename the certain file and copy it to the old filename
except the unwanted ID3 information, but this would mean to write
megabytes for every file.

Any idea appreciated!

Best regards,

Markus

--
Please reply to group only.
For private email please use http://www.dipl-ing-kessler.de/email.htm


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019