4.115
Line | |
---|
1 | /* |
---|
2 | * Copyright (c) 2009 by |
---|
3 | * Ralf Corsépius, Ulm, Germany. All rights reserved. |
---|
4 | * |
---|
5 | * Permission to use, copy, modify, and distribute this software |
---|
6 | * is freely granted, provided that this notice is preserved. |
---|
7 | */ |
---|
8 | |
---|
9 | #ifdef HAVE_CONFIG_H |
---|
10 | #include "config.h" |
---|
11 | #endif |
---|
12 | |
---|
13 | #include <time.h> |
---|
14 | |
---|
15 | int |
---|
16 | main (void) |
---|
17 | { |
---|
18 | struct timespec req = { 0, 42 }; |
---|
19 | struct timespec rem; |
---|
20 | int status; |
---|
21 | |
---|
22 | status = nanosleep (&req, &rem); |
---|
23 | |
---|
24 | return 0; |
---|
25 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.