Changeset 0ee4322 in mainline for uspace/lib/libc/include/unistd.h


Ignore:
Timestamp:
2008-01-13T13:19:37Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d0dc74ae
Parents:
4fb6bf36
Message:

Add ftruncate() and support for VFS_TRUNCATE to VFS and TMPFS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/include/unistd.h

    r4fb6bf36 r0ee4322  
    4646#define SEEK_END        2
    4747
    48 extern ssize_t write(int fd, const void * buf, size_t count);
    49 extern ssize_t read(int fd, void * buf, size_t count);
     48extern ssize_t write(int, const void *, size_t);
     49extern ssize_t read(int, void *, size_t);
    5050extern off_t lseek(int, off_t, int);
     51extern int ftruncate(int, off_t);
    5152
    5253extern void _exit(int status);
Note: See TracChangeset for help on using the changeset viewer.