Update to manual pages.

Introduced an ENOMAP error code for l4_unmap.
This commit is contained in:
Bahadir Balban
2009-12-04 00:30:25 +02:00
parent 5eb134e258
commit 5b783f4e2e
15 changed files with 96 additions and 52 deletions

41
docs/man/man7/l4_time.7 Normal file → Executable file
View File

@@ -1,27 +1,44 @@
.TH L4_TIME 7 2009-11-07 "Codezero" "Codezero Programmer's Manual"
.SH NAME
.nf
.BR "l4_time" "- Sets or returns system time."
.BR "l4_time" " - sets or reads system time."
.SH SYNOPSIS
.nf
.B #include <l4lib/arch/syscalls.h>
.B #include <l4lib/arch/syslib.h>
.BI "int l4_time(void " "*timeval" ", int " "set" ");"
.BI "int l4_time(struct timeval *" "timeval" ", int " "set" ");"
.SH DESCRIPTION
.BR l4_time() " - Sets or returns system time."
.BR "l4_time() " "sets or reads system time. "
System time is read in the
.B timeval
argument field.
.IR "timeval " "field is the representation of time since the system has started running. See below for details."
If
.B set
argument is a non-zero value, system time is set using the values in
.B timeval
.IR "set " " field instructs whether the time is to be read or set to the values specified in the " "timeval " "field supplied."
Currently setting the time feature is disabled
.nf
.B struct timeval {
.BI " int " "tv_sec;" " /* Time value in seconds */ "
.BI " int " "tv_usec;" " /* Time value in microseconds */ "
.B };
.fi
Currently the system time is returned since the system has started rather than a set date.
.SH LIMITATIONS
- Currently setting the time feature is disabled.
- Currently the system time is returned since the system has started rather than a set date.
- Currently this system call is not subject to capabilities.
.SH ERRORS
.TP
.B -EFAULT
.IR "timeval " "field would cause an unhandled page fault."
.TP
.B -EBUSY
Timer structures in the system are currently being used.
.TP
.B -ENOSYS
Operation of given type is not supported.