Commit | Line | Data |
---|---|---|
b52c7616 KT |
1 | .pa 1 |
2 | .he 'PTIME (III)'3/15/72'PTIME (III)' | |
3 | .ti 0 | |
4 | NAME ptime -- print date and time | |
5 | .sp | |
6 | .ti 0 | |
7 | SYNOPSIS sys time | |
8 | .br | |
9 | mov file,r2 | |
10 | .br | |
11 | jsr pc,ptime | |
12 | .sp | |
13 | .ti 0 | |
14 | DESCRIPTION ptime\b\b\b\b\b_____ prints the date and time in the form | |
15 | .sp | |
16 | Oct 9 17:20:33\ | |
17 | .sp | |
18 | on the file whose file descriptor is in r2. | |
19 | The string is 15 characters long. | |
20 | The time to be printed | |
21 | must be placed in the r0 and r1 registers | |
22 | in the form returned by sys\b\b\b___ time\b\b\b\b____. | |
23 | .sp | |
24 | .ti 0 | |
25 | FILES kept in /lib/liba.a | |
26 | .sp | |
27 | .ti 0 | |
28 | SEE ALSO time(II), ctime(III) (used to do the conversion) | |
29 | .sp | |
30 | .ti 0 | |
31 | DIAGNOSTICS -- | |
32 | .sp | |
33 | .ti 0 | |
34 | BUGS see ctime |