Add gettimeofday()

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1974 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2009-07-11 23:39:33 +00:00
parent 631788ece1
commit 4f255b5fdf
6 changed files with 220 additions and 1 deletions
+2
View File
@@ -808,6 +808,8 @@
* lib/: Greatly simplified mktime() and gmtime_r(). The Gregorian and
Julian time calculations were interesting, but not necessary in the
typical embeddd system.
* sched/: Added gettimeofday(). This implementation is simply a thin
wrapper around clock_gettimer().