]> git.proxmox.com Git - wasi-libc.git/commit
Implement truncate(2).
authorDan Gohman <sunfish@mozilla.com>
Tue, 14 May 2019 18:49:22 +0000 (11:49 -0700)
committerDan Gohman <sunfish@mozilla.com>
Wed, 15 May 2019 18:53:11 +0000 (11:53 -0700)
commit6cddc9250b22501e788f7f49c07cddb2698d12dc
treec2a6ce806eac8c4b74dbc66cf8b7f625ad9a9d65
parent7d5074ff6609fdff970328082a37a7cfb1eb55bb
Implement truncate(2).

This adds a simple implementation of truncate in terms of open and
ftruncate.
expected/wasm32-wasi/defined-symbols.txt
libc-bottom-half/sources/truncate.c [new file with mode: 0644]