OpenCores
URL https://opencores.org/ocsvn/c0or1k/c0or1k/trunk

Subversion Repositories c0or1k

[/] [c0or1k/] [trunk/] [docs/] [man/] [man7/] [l4_time.7] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 drasko
.TH L4_TIME 7 2009-11-07 "Codezero" "Codezero Programmer's Manual"
2
.SH NAME
3
.nf
4
.BR "l4_time" " - sets or reads system time."
5
 
6
.SH SYNOPSIS
7
.nf
8
.B #include 
9
.B #include 
10
 
11
.BI "int l4_time(struct timeval *" "timeval" ", int " "set" ");"
12
 
13
.SH DESCRIPTION
14
.BR "l4_time() " "sets or reads system time. "
15
 
16
.IR "timeval " "field is the representation of time since the system has started running. See below for details."
17
 
18
.IR "set " " field instructs whether the time is to be read or set to the values specified in the " "timeval " "field supplied."
19
 
20
.nf
21
.B struct timeval {
22
.BI "      int " "tv_sec;"  "    /* Time value in seconds */ "
23
.BI "      int " "tv_usec;" "   /* Time value in microseconds */ "
24
.B };
25
.fi
26
 
27
.SH LIMITATIONS
28
- Currently setting the time feature is disabled.
29
 
30
- Currently the system time is returned since the system has started rather than a set date.
31
 
32
- Currently this system call is not subject to capabilities.
33
 
34
.SH ERRORS
35
.TP
36
.B -EFAULT
37
.IR "timeval " "field would cause an unhandled page fault."
38
.TP
39
.B -EBUSY
40
Timer structures in the system are currently being used.
41
.TP
42
.B -ENOSYS
43
Operation of given type is not supported.
44
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.