diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-08-13 00:32:32 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-08-13 00:32:32 +0000 |
commit | 3169482b6c251e6c532b96c7af5ce2b181660706 (patch) | |
tree | 64ce64ae4b8c16dc5a3428e16bf51a1c1d6f58cf /nuttx/fs/fs_write.c | |
parent | b796f476c1dc59a2f063181b65648993b3e1a858 (diff) | |
download | px4-nuttx-3169482b6c251e6c532b96c7af5ce2b181660706.tar.gz px4-nuttx-3169482b6c251e6c532b96c7af5ce2b181660706.tar.bz2 px4-nuttx-3169482b6c251e6c532b96c7af5ce2b181660706.zip |
Fix read()/write() prototype
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@820 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs/fs_write.c')
-rw-r--r-- | nuttx/fs/fs_write.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/fs/fs_write.c b/nuttx/fs/fs_write.c index 28fa8664c..19652ad59 100644 --- a/nuttx/fs/fs_write.c +++ b/nuttx/fs/fs_write.c @@ -58,7 +58,7 @@ * Global Functions ****************************************************************************/ -/******************************************************************************************** +/*************************************************************************** * Function: write * * Description: @@ -108,7 +108,7 @@ * ********************************************************************************************/ -int write(int fd, FAR const void *buf, unsigned int nbytes) +ssize_t write(int fd, FAR const void *buf, size_t nbytes) { #if CONFIG_NFILE_DESCRIPTORS > 0 FAR struct filelist *list; |