Changeset 6c71a1f in mainline


Ignore:
Timestamp:
2008-11-04T22:34:59Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c472aff
Parents:
ab579fa
Message:

Start implementing fat_truncate().

Location:
uspace/srv/fs/fat
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/fat/fat.c

    rab579fa r6c71a1f  
    114114                        fat_write(callid, &call);
    115115                        break;
     116                case VFS_TRUNCATE:
     117                        fat_truncate(callid, &call);
     118                        break;
    116119                default:
    117120                        ipc_answer_0(callid, ENOTSUP);
  • uspace/srv/fs/fat/fat.h

    rab579fa r6c71a1f  
    203203extern void fat_read(ipc_callid_t, ipc_call_t *);
    204204extern void fat_write(ipc_callid_t, ipc_call_t *);
     205extern void fat_truncate(ipc_callid_t, ipc_call_t *);
    205206
    206207extern fat_idx_t *fat_idx_get_by_pos(dev_handle_t, fat_cluster_t, unsigned);
  • uspace/srv/fs/fat/fat_ops.c

    rab579fa r6c71a1f  
    732732}
    733733
     734void fat_truncate(ipc_callid_t rid, ipc_call_t *request)
     735{
     736        ipc_answer_0(rid, ENOTSUP);
     737}
     738
    734739/**
    735740 * @}
Note: See TracChangeset for help on using the changeset viewer.