All pastes #39684 Raw Edit

Unnamed

public text v1 · immutable
#39684 ·published 2006-02-02 22:36 UTC
rendered paste body
#include <stdlib.h>
#include <unistd.h>

/* compile with
gcc -g -Wall -o smallsleep smallsleep.c
*/

#define MICROSECONDS_IN_SECONDS 1000000

int main (int argc, const char *argv[])
{
  if (argc > 1)
     usleep (strtol(argv[1], NULL, 10));
  
  return (0);

} // main