Mercurial > hg > toybox
comparison toys/other/truncate.c @ 656:6df4ccc0acbe
Regularize command headers, update links to standards documents.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sat, 25 Aug 2012 18:08:51 -0500 |
parents | 2986aa63a021 |
children | 7e846e281e38 |
comparison
equal
deleted
inserted
replaced
655:e235d7d575e5 | 656:6df4ccc0acbe |
---|---|
1 /* vi: set sw=4 ts=4: | 1 /* vi: set sw=4 ts=4: |
2 * | 2 * |
3 * truncate.c - set file length, extending sparsely if necessary | 3 * truncate.c - set file length, extending sparsely if necessary |
4 * | 4 * |
5 * Copyright 2011 Rob Landley <rob@landley.net> | 5 * Copyright 2011 Rob Landley <rob@landley.net> |
6 * | |
7 * Not in SUSv4 | |
8 | 6 |
9 USE_TRUNCATE(NEWTOY(truncate, "<1s#|c", TOYFLAG_BIN)) | 7 USE_TRUNCATE(NEWTOY(truncate, "<1s#|c", TOYFLAG_BIN)) |
10 | 8 |
11 config TRUNCATE | 9 config TRUNCATE |
12 bool "truncate" | 10 bool "truncate" |