chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b80d82b
)
[PATCH] add prototype for ftruncate to klibc
author
greg@kroah.com
<greg@kroah.com>
Wed, 12 Nov 2003 11:33:44 +0000
(
03:33
-0800)
committer
Greg KH
<gregkh@suse.de>
Wed, 27 Apr 2005 04:06:23 +0000
(21:06 -0700)
klibc/klibc/include/unistd.h
patch
|
blob
|
history
diff --git
a/klibc/klibc/include/unistd.h
b/klibc/klibc/include/unistd.h
index a9b434c16b959895a14f976aab159a06cae2ba6b..3c51c497a7c5a41a9efb0bd41148fc2d57e91fd7 100644
(file)
--- a/
klibc/klibc/include/unistd.h
+++ b/
klibc/klibc/include/unistd.h
@@
-103,6
+103,8
@@
__extern int optind, opterr, optopt;
__extern int isatty(int);
+__extern int ftruncate(int, off_t);
+
/* Standard file descriptor numbers. */
#define STDIN_FILENO 0
#define STDOUT_FILENO 1