djbdnscurve6
46
djbdnscurve6
Loading...
Searching...
No Matches
djbdnscurve6-46
src
utime.c
Go to the documentation of this file.
1
#include <sys/types.h>
2
#include <sys/time.h>
3
#include <utime.h>
4
#include "scan.h"
5
#include "exit.h"
6
7
char
*
fn
;
8
9
char
*
ustr
;
10
unsigned
long
u;
11
struct
utimbuf
ut
;
12
13
int
main
(
int
argc,
char
**argv)
14
{
15
fn
= argv[1];
16
if
(!
fn
) _exit(100);
17
18
ustr
= argv[2];
19
if
(!
ustr
) _exit(100);
20
scan_dnum(
ustr
,&u);
21
22
ut
.actime =
ut
.modtime = u;
23
if
(utime(
fn
,&
ut
) == -1) _exit(111);
24
_exit(0);
25
}
fn
char * fn
Definition
axfr-get.c:53
main
int main()
Definition
axfrdns.c:323
ustr
char * ustr
Definition
utime.c:9
ut
struct utimbuf ut
Definition
utime.c:11
Generated on
for djbdnscurve6 by
1.14.0