commit | 211db5352d3ae14d91e9de780612ff828fda7965 | [log] [tgz] |
---|---|---|
author | Ramesh Thomas <ramesh.thomas@intel.com> | Fri Aug 26 17:56:07 2016 -0700 |
committer | Anas Nashif <nashif@linux.intel.com> | Fri Sep 23 00:06:31 2016 +0000 |
tree | 6e8d9153bd13d887dd423813927560b7fca181c2 | |
parent | 986596bb91786365eba6f5db95418c7135326963 [diff] |
fs: Adds file system API to grow or shrink a file Adds fs_truncate() function which can be used to change the size of a file. The name is counter intuitive but that is how the POSIX version is named. It shrinks as well as grows a file. Jira: ZEP-635 ZEP-622 Change-Id: If7b8cad17e1b80479a529c60a32c12fb134cd456 Signed-off-by: Ramesh Thomas <ramesh.thomas@intel.com>