The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

C programming help by arachn1d 2006-11-19 12:55:59
Here is a program I'm working on. I'm having problems with the code in the last function - ttylink(). It should be passed a file descriptor to the master end of a pty/tty pair, with a copy of NetHack at the other end (as a child process). However, nothing happens - the code just sits there. Can anyone tell me what I'm doing wrong? -Addendum - I just realised - as soon as I choose to start nethack, in.nethackd starts consuming as much CPU as it can get its hands on!
[ Reply ]
  Oops! by arachn1d2004-01-15 21:24:18
    Ok, so now by arachn1d2004-01-15 21:49:06
      Programming in C? by Egaeus2004-01-15 22:06:51
        That is what the parent thread says... (n/t) by arachn1d2004-01-15 22:15:03
          No by Egaeus2004-01-16 06:54:12
      maybe select is mad that by ToLazyToThink2004-01-15 22:29:53
        You were exactly right by arachn1d2004-01-15 22:55:45

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)