Mercurial > hg > xemacs-beta
comparison lib-src/gnuserv.c @ 215:1f0dabaa0855 r20-4b6
Import from CVS: tag r20-4b6
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:07:35 +0200 |
parents | 929b76928fce |
children | 41f2f0e326e9 |
comparison
equal
deleted
inserted
replaced
214:c5d88c05e1e9 | 215:1f0dabaa0855 |
---|---|
829 | 829 |
830 } /* handle_unix_request */ | 830 } /* handle_unix_request */ |
831 #endif /* UNIX_DOMAIN_SOCKETS */ | 831 #endif /* UNIX_DOMAIN_SOCKETS */ |
832 | 832 |
833 | 833 |
834 void | 834 int |
835 main(argc,argv) | 835 main(argc,argv) |
836 int argc; | 836 int argc; |
837 char *argv[]; | 837 char *argv[]; |
838 { | 838 { |
839 int chan; /* temporary channel number */ | 839 int chan; /* temporary channel number */ |
905 if (FD_ISSET(fileno(stdin), &rmask)) /* from stdin (gnu process) */ | 905 if (FD_ISSET(fileno(stdin), &rmask)) /* from stdin (gnu process) */ |
906 handle_response(); | 906 handle_response(); |
907 #endif /* NOT SYSV_IPC */ | 907 #endif /* NOT SYSV_IPC */ |
908 } /* while */ | 908 } /* while */ |
909 | 909 |
910 return 0; | |
910 } /* main */ | 911 } /* main */ |
911 | 912 |
912 #endif /* SYSV_IPC || UNIX_DOMAIN_SOCKETS || INTERNET_DOMAIN_SOCKETS */ | 913 #endif /* SYSV_IPC || UNIX_DOMAIN_SOCKETS || INTERNET_DOMAIN_SOCKETS */ |