Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NuttX RTOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
f4grx
NuttX RTOS
Commits
5d84cd5d
Commit
5d84cd5d
authored
9 years ago
by
Gregory Nutt
Browse files
Options
Downloads
Patches
Plain Diff
Improve a few comments
parent
30020237
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/time.h
+11
-7
11 additions, 7 deletions
include/time.h
with
11 additions
and
7 deletions
include/time.h
+
11
−
7
View file @
5d84cd5d
...
...
@@ -101,11 +101,13 @@
#endif
/* The following are non-standard interfaces in the sense that they are not
* in POSIX.1-2001
. These interfaces are present on most BSD derivativ
es
,
* however, including Linux.
* in POSIX.1-2001
nor are the specifed at OpenGroup.org. These interfac
es
*
are present on most BSD derivatives,
however, including Linux.
*/
/* void timeradd(struct timeval *a, struct timeval *b, struct timeval *res); */
/* void timeradd(FAR struct timeval *a, FAR struct timeval *b,
* FAR struct timeval *res);
*/
#define timeradd(tvp, uvp, vvp) \
do \
...
...
@@ -120,7 +122,9 @@
} \
while (0)
/* void timersub(struct timeval *a, struct timeval *b, struct timeval *res); */
/* void timersub(FAR struct timeval *a, FAR struct timeval *b,
* FAR struct timeval *res);
*/
#define timersub(tvp, uvp, vvp) \
do \
...
...
@@ -135,7 +139,7 @@
} \
while (0)
/* void timerclear(struct timeval *tvp); */
/* void timerclear(
FAR
struct timeval *tvp); */
#define timerclear(tvp) \
do \
...
...
@@ -145,12 +149,12 @@
} \
while (0)
/* int timerisset(struct timeval *tvp); */
/* int timerisset(
FAR
struct timeval *tvp); */
#define timerisset(tvp) \
((tvp)->tv_sec != 0 || (tvp)->tv_usec != 0)
/* int timercmp(struct timeval *a, struct timeval *b, CMP); */
/* int timercmp(
FAR
struct timeval *a,
FAR
struct timeval *b, CMP); */
#define timercmp(tvp, uvp, cmp) \
(((tvp)->tv_sec == (uvp)->tv_sec) ? \
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment