Opened 11 years ago
Closed 9 years ago
#397 closed defect (fixed)
Implement wall-clock time facility
Reported by: | Martin Decky | Owned by: | Jakub Jermář |
---|---|---|---|
Priority: | major | Milestone: | 0.6.0 |
Component: | helenos/lib/c | Version: | mainline |
Keywords: | Cc: | ||
Blocker for: | Depends on: | #62 | |
See also: |
Description
As observed by Frantisek Princ in mailing list:
I tried to use function time() which should return POSIX time (number of seconds
from 1.1.1970), but it looks like this function returns "uptime" (seconds
from successful boot).
Is there any way how to get current time? I need time for setting timestamps
on i-nodes, but fsck on Linux has a problem with very low values which returns
time() function. Deletion time on i-node is also used for orphaned i-nodes list
and if value is lower than i-nodes count, it's interpreted as
corrupted orphans list.
Therefore a reasonable wall-clock time functionality is highly desirable.
Change History (4)
comment:1 Changed 11 years ago by
Milestone: | 0.5.0 → 0.5.1 |
---|
comment:2 Changed 11 years ago by
Blocker for: | → # |
---|---|
Depends on: | → #62 |
comment:3 Changed 11 years ago by
Blocker for: | # |
---|
comment:4 Changed 9 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
This functionality was added in mainline,1666.