2 erothshs

Haris Kosmidis hkosmidi at alexandros.csd.auth.gr
Sun Mar 2 13:29:55 EET 1997


Katarxhn 1 erothsh pou 3exasa se prohgoumeno mail:
ti einai to /dec/zero? kati san /dev/null?

Epeita ososn afora thn erothsh pou eixa kanei sxetika me to pos na
eidopoioume an peftei h ppp sundesh. Eida apo ena biblio (unix network
programming, mallon 8a to exetai diabasei) to parakato programma (mallon
kati analogo kai ego to morfopoihsa gia edo):
int flag=0;
for(;;) {
sigblock(sigmask(SIGHUP));
while(flag==0)
        sigpause(0);
/*Apo edo kai pera kano otidhpote px: printf("Line is down!");
*/

Dhaldh molis entopizei to shma SIGHUP na mou deixnei kati...
Einai sosto?


==================================================================
For help on using this list (linux-greek-users), send a message to
"majordomo at argeas.argos.hol.gr" with one line of text: "help".
For any problem send e-mail to owner-linux-greek-users
==================================================================



More information about the Linux-greek-users mailing list