packages/buendia-pushclock/data/usr/src/buendia-pushclock.c
void check(char* name) {
  fprintf(stderr, "%s() exit code: %ld\n", name, rv);
  if (rv != 0) {
    perror(name);
    if (errno == EPERM) fprintf(stderr, "EPERM\n");
    if (errno == EINVAL) fprintf(stderr, "EINVAL\n");
    if (errno == EFAULT) fprintf(stderr, "EFAULT\n");
  }
}
/* Displays the value in rv interpreted as a system command exit code. */
Displays the value in rv interpreted as a system command exit code.
Displays the value in rv interpreted as a system command exit code .
void check(char* name) {
  fprintf(stderr, "%s() exit code: %ld\n", name, rv);
  if (rv != 0) {
    perror(name);
    if (errno == EPERM) fprintf(stderr, "EPERM\n");
    if (errno == EINVAL) fprintf(stderr, "EINVAL\n");
    if (errno == EFAULT) fprintf(stderr, "EFAULT\n");
  }
}
void check ( char * name ) { fprintf ( stderr , " \n " , name , rv ) ; if ( rv != 0 ) { perror ( name ) ; if ( errno == EPERM ) fprintf ( stderr , " \n " ) ; if ( errno == EINVAL ) fprintf ( stderr , " \n " ) ; if ( errno == EFAULT ) fprintf ( stderr , " \n " ) ; } }
Displays the value in rv interpreted as a system command exit code.
Displays the value in rv interpreted as a system command exit code .