URI:
       ttdaemon.c - plan9port - [fork] Plan 9 from user space
  HTML git clone git://src.adamsgaard.dk/plan9port
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
       ttdaemon.c (195B)
       ---
            1 #include <u.h>
            2 #include <libc.h>
            3 #include <thread.h>
            4 
            5 void
            6 proc(void *v)
            7 {
            8         sleep(5*1000);
            9         print("still running\n");
           10 }
           11 
           12 void
           13 threadmain(int argc, char **argv)
           14 {
           15         proccreate(proc, nil, 32768);
           16 }