fork download
  1. #include <sys/time.h>
  2.  
  3. int main() {
  4. struct timeval a = {0};
  5. struct timeval b = {0};
  6. return timercmp(&a, &b, <);
  7. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function ‘main’:
prog.c:6:12: warning: implicit declaration of function ‘timercmp’ [-Wimplicit-function-declaration]
     return timercmp(&a, &b, <);
            ^~~~~~~~
prog.c:6:29: error: expected expression before ‘<’ token
     return timercmp(&a, &b, <);
                             ^
stdout
Standard output is empty