URI:
       tnew test program - 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
       ---
   DIR commit 96d6b19dcd4f359c3fa8eefcb8615082c840e184
   DIR parent 2c87dda8f89e84082523b03b62c5d47d55c13341
  HTML Author: rsc <devnull@localhost>
       Date:   Tue, 28 Dec 2004 01:36:53 +0000
       
       new test program
       
       Diffstat:
         A src/libthread/test/tdaemon.c        |      11 +++++++++++
       
       1 file changed, 11 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/src/libthread/test/tdaemon.c b/src/libthread/test/tdaemon.c
       t@@ -0,0 +1,11 @@
       +#include <u.h>
       +#include <libc.h>
       +#include <thread.h>
       +
       +void
       +threadmain(int argc, char **argv)
       +{
       +        threaddaemonize();
       +        sleep(5*1000);
       +        print("still running\n");
       +}