diff options
author | Michael Kerrisk <mtk.manpages@gmail.com> | 2007-05-16 02:09:09 +0000 |
---|---|---|
committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2007-05-16 02:09:09 +0000 |
commit | 5bc8c34c03c947e680123dcfa12bd509cace0a8b (patch) | |
tree | f05885879ff081c4a403d4ec289016e4e4de4cc7 /man3/rtime.3 | |
parent | 3618596929fdc380c9ed9980e50cda1808f15cb4 (diff) |
s/return 0/exit(EXIT_FAILURE)/ in main() function example program
Diffstat (limited to 'man3/rtime.3')
-rw-r--r-- | man3/rtime.3 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/man3/rtime.3 b/man3/rtime.3 index 79cc26d9..841a932c 100644 --- a/man3/rtime.3 +++ b/man3/rtime.3 @@ -90,7 +90,7 @@ main(void) else printf("%s\\n", ctime((time_t *) &time1.tv_sec)); - return 0; + exit(EXIT_SUCCESS); } .fi .SH "NOTES" |