libc: add missing truncate() declaration
Change-Id: Icb3601bbc9365b75b05ff443a39192f9cd3cbfb7
This commit is contained in:
parent
ecb6d41334
commit
da3019b553
@ -18,6 +18,9 @@ Differences between current and Android 2.2:
|
|||||||
|
|
||||||
- <termio.h>: added missing header (just includes <termios.h>)
|
- <termio.h>: added missing header (just includes <termios.h>)
|
||||||
|
|
||||||
|
- <unistd.h>: add missing declaration for truncate(). The implementation
|
||||||
|
was already here since Android 1.5.
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
Differences between Android 2.2. and Android 2.1:
|
Differences between Android 2.2. and Android 2.1:
|
||||||
|
|
||||||
|
@ -124,6 +124,7 @@ extern int readlink(const char *, char *, size_t);
|
|||||||
extern int chown(const char *, uid_t, gid_t);
|
extern int chown(const char *, uid_t, gid_t);
|
||||||
extern int fchown(int, uid_t, gid_t);
|
extern int fchown(int, uid_t, gid_t);
|
||||||
extern int lchown(const char *, uid_t, gid_t);
|
extern int lchown(const char *, uid_t, gid_t);
|
||||||
|
extern int truncate(const char *, off_t);
|
||||||
extern char *getcwd(char *, size_t);
|
extern char *getcwd(char *, size_t);
|
||||||
|
|
||||||
extern int sync(void);
|
extern int sync(void);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user