ESP PV-Boiler Controller https://github.com/arnova/pvboiler
SetEndOfFile(); // In de WinAPI
of
chsize(); // Niet ANSI C
kortom, weinig kans
of
chsize(); // Niet ANSI C
kortom, weinig kans
We adore chaos because we like to restore order - M.C. Escher
truncate/ftruncate zijn onderdeel van de standard C library. Daarmee zou het dus wel moeten lukken.
truncate/ftruncate is volgens mij geen standaard ANSI C. Ik heb namelijk in de help gekeken van BC4 en daar staat ie niet in. Overigens gebruik ik als compiler Mingw32 GCC.
ESP PV-Boiler Controller https://github.com/arnova/pvboiler
het is idd geen ANSI C of POSIXmaster_artech schreef op 18 augustus 2002 @ 22:33:
truncate/ftruncate is volgens mij geen standaard ANSI C. Ik heb namelijk in de help gekeken van BC4 en daar staat ie niet in. Overigens gebruik ik als compiler Mingw32 GCC.
Maar aangezien je gnu's compiler gebruikt is de kans groot dat ie er wel bij zit
#include <unistd.h> anders even...
zie ook: http://www.delorie.com/djgpp/doc/libc/libc_345.html
Give a man a game and he'll have fun for a day. Teach a man to make games and he'll never have fun again.
Pagina: 1