minix/include
Ben Gras 50b06261b6 Implementation of truncate(), ftruncate() and the F_FREESP fcntl().
Implemented by changing write_map to accept a WMAP_FREE flag. In that
case, it doesn't update the datablock (creating indirect zones as
necessary) pointer, but it frees the datablock if present. Also it
frees the single and double indirect blocks if unused.

This makes the implementation of truncate_inode() simpler.
truncate_inode() now accepts a truncation length which makes
implementing truncate() and ftruncate() simple.

This also allowed implementing the F_FREESP fcntl().
2006-01-11 17:14:51 +00:00
..
arpa Misc. compatibility changes 2005-09-30 12:41:25 +00:00
ibm Separate pci driver 2005-12-02 14:40:51 +00:00
minix Implementation of truncate(), ftruncate() and the F_FREESP fcntl(). 2006-01-11 17:14:51 +00:00
net typedef dns_hdr_t HEADER; 2005-11-17 01:29:08 +00:00
netinet Define 2005-11-17 01:23:46 +00:00
sys Added truncate and ftruncate() prototypes and call numbers (prematurely) 2005-12-20 14:17:05 +00:00
a.out.h Initial revision 2005-04-21 14:53:53 +00:00
alloca.h Initial revision 2005-04-21 14:53:53 +00:00
ansi.h Synchronize comment. 2005-09-14 01:59:36 +00:00
assert.h Al's double-blank-line removal request 2005-08-22 15:23:47 +00:00
configfile.h Initial revision 2005-04-21 14:53:53 +00:00
ctype.h Various changes to header files for tcpdump. 2005-11-09 15:43:39 +00:00
curses.h Initial revision 2005-04-21 14:53:53 +00:00
dirent.h Rename some #defines such as MAX_BLOCK_SIZE to _MAX_BLOCK_SIZE and such 2005-11-14 18:41:27 +00:00
env.h Initial revision 2005-04-21 14:53:53 +00:00
errno.h Fix 2005-11-01 13:15:44 +00:00
fcntl.h Implementation of truncate(), ftruncate() and the F_FREESP fcntl(). 2006-01-11 17:14:51 +00:00
float.h Initial revision 2005-04-21 14:53:53 +00:00
grp.h Renamed some types Uid_t, Gid_t, Mode_t, etc. for perl5. 2005-06-23 11:07:31 +00:00
inttypes.h Improved compatibility with other Unix systems. 2005-06-10 15:12:03 +00:00
lib.h Cleaned up src/lib/utils library. Renamed server_ functions to more logical 2005-06-01 14:31:00 +00:00
libgen.h Added basename(3) 2005-08-25 11:33:43 +00:00
libutil.h Header file for new -lutil (naming from freebsd) 2005-07-19 16:01:20 +00:00
limits.h out-of-date comment fixed 2005-11-14 16:35:32 +00:00
locale.h Initial revision 2005-04-21 14:53:53 +00:00
Makefile gcc separate target 2005-10-20 20:38:12 +00:00
math.h Added prototype for hypot. 2005-11-04 17:14:59 +00:00
mathconst.h Initial revision 2005-04-21 14:53:53 +00:00
netdb.h Improved compatibility with other Unix systems. 2005-06-10 15:12:03 +00:00
pwd.h Al's double-blank-line removal request 2005-08-22 15:23:47 +00:00
regex.h Initial revision 2005-04-21 14:53:53 +00:00
regexp.h Initial revision 2005-04-21 14:53:53 +00:00
setjmp.h Joren l'Ami's fixes to includes for gcc 2005-09-01 13:07:08 +00:00
sgtty.h Initial revision 2005-04-21 14:53:53 +00:00
signal.h Add SIGWINCH signal and functionality in tty and support in PM. 2005-10-03 12:03:57 +00:00
stdarg.h Al's double-blank-line removal request 2005-08-22 15:23:47 +00:00
stddef.h Initial revision 2005-04-21 14:53:53 +00:00
stdint.h Added <minix/sys_config.h>. This file is intended to be included from 2005-08-29 13:52:08 +00:00
stdio.h Joren l'Ami's fixes to includes for gcc 2005-09-01 13:07:08 +00:00
stdlib.h getloadavg 2005-11-14 15:58:07 +00:00
string.h Many changes to simplify porting applications. 2005-07-11 13:00:43 +00:00
strings.h Prototypes for some string functions that are not part of the C standard. 2005-07-27 11:44:26 +00:00
syslog.h Giovanni's syslog.h 2005-10-31 14:07:07 +00:00
tar.h Initial revision 2005-04-21 14:53:53 +00:00
termcap.h Initial revision 2005-04-21 14:53:53 +00:00
termios.h Ast@'s formatting fixes 2005-09-16 14:23:14 +00:00
time.h Improved compatibility with other Unix systems. 2005-06-10 15:12:03 +00:00
timers.h Fix by Al. 2005-09-14 00:49:08 +00:00
tools.h Al's double-blank-line removal request 2005-08-22 15:23:47 +00:00
ttyent.h Initial revision 2005-04-21 14:53:53 +00:00
unistd.h Added truncate and ftruncate() prototypes and call numbers (prematurely) 2005-12-20 14:17:05 +00:00
utime.h Initial revision 2005-04-21 14:53:53 +00:00
utmp.h Al's double-blank-line removal request 2005-08-22 15:23:47 +00:00