truncate: style(9) some parts
This commit is contained in:
parent
4c2b439617
commit
dde27dbc9b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=336139
@ -46,23 +46,23 @@ static const char rcsid[] =
|
||||
|
||||
static void usage(void);
|
||||
|
||||
static int no_create;
|
||||
static int do_relative;
|
||||
static int do_refer;
|
||||
static int got_size;
|
||||
|
||||
int
|
||||
main(int argc, char **argv)
|
||||
{
|
||||
struct stat sb;
|
||||
mode_t omode;
|
||||
off_t oflow, rsize, sz, tsize;
|
||||
struct stat sb;
|
||||
mode_t omode;
|
||||
off_t oflow, rsize, sz, tsize;
|
||||
uint64_t usz;
|
||||
int ch, error, fd, oflags;
|
||||
char *fname, *rname;
|
||||
int ch, error, fd, oflags;
|
||||
int no_create;
|
||||
int do_relative;
|
||||
int do_refer;
|
||||
int got_size;
|
||||
char *fname, *rname;
|
||||
|
||||
fd = -1;
|
||||
rsize = tsize = sz = 0;
|
||||
no_create = do_relative = do_refer = got_size = 0;
|
||||
error = 0;
|
||||
rname = NULL;
|
||||
while ((ch = getopt(argc, argv, "cr:s:")) != -1)
|
||||
|
Loading…
Reference in New Issue
Block a user