OpenGrok
Cross Reference: truncate.c
xref
: /
src
/
lib
/
libc
/
sys
/
truncate.c
Home
|
History
|
Annotate
|
Download
|
only in
sys
History log of
/src/lib/libc/sys/truncate.c
Revision
Date
Author
Comments
1.13
20-Mar-2012
matt
Convert to C89 prototypes. Remove use of __P
1.12
23-Nov-2007
uebayasi
branches: 1.12.30;
KNF; no variable name in function prototype.
1.11
22-Nov-2007
dsl
Change all the syscall C 'glue' functions (most of which just add in an
extra argument to ensure that 'off_t' parameters are even numbered
parameters for stack alignment reasons on 32 bit systems) to use a normal
'syscall' wrapper for __foo instead of using __syscall(SYS_foo, ... ).
This saves all the faffing needed to get a 32bit return value on sparc.
Auto-generate the extra syscall wrappers.
Move swapon.c into the correct list (swapon() uses swapctl()).
This probably means there are very few users of syscall() and __syscall() left.
1.10
07-Aug-2003
agc
branches: 1.10.22;
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22280, verified by myself.
1.9
15-Nov-1998
christos
delint
1.8
13-Jul-1997
christos
Fix RCSID's
1.7
23-Dec-1996
cgd
Fix quad_t __syscall() return goofs. Now these should work on big-endian
systems, too.
1.6
22-Dec-1996
cgd
explicitly cast __syscall() returns to (int) so that lint knows
that we know what we're doing.
1.5
20-Dec-1996
cgd
pull in unistd.h for prototypes
1.4
19-Apr-1995
jtc
char * -> const char *
1.3
27-Feb-1995
cgd
clean up merge, fix Id's
1.2
06-May-1994
cgd
branches: 1.2.4;
clean
1.1
02-Apr-1994
cgd
branches: 1.1.1;
stubs, to get the padding right. so nasty it's almost unbelievable.
also, kill "special lseek" bogon.
1.1.1.1
27-Feb-1995
cgd
from Lite
1.2.4.1
18-Apr-1995
jtc
#include "namespace.h"
1.10.22.1
09-Jan-2008
matt
sync with HEAD
1.12.30.1
17-Apr-2012
yamt
sync with head
Indexes created Thu Sep 25 02:09:54 GMT 2025