[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [CPROG] Linux signaler



On Tue, 18 Dec 2001 15:30:18 +0100, Klaus S. Madsen wrote:

> On Tue, Dec 18, 2001 at 03:14:16PM +0100, Frank Damgaard wrote:
>> In article <sslug@sslug> you wrote:
>> 
>> ....
>> > man sigaction, står der vist stort set alt hvad man har brug for at
>> > vide.
>> 
>> > sigaction er lidt mere besværligt end signal, men til gengæld virker
>> > det end på både *BSD og Linux... Det gør signal ikke...
>> 
>> jeg har da brugt signal() på gamle "BSD" og det virkede da også. ?
>> Eller er de nye kloner *BSD ændret ?
> Det virker, men det virker ikke som på linux... Der er noget med om man
> skal kalde signal i signalhandleren, for at fortsætte med at modtage
> signaler osv... Jeg kan ikke lige huske hvordan det er, for efter jeg
> fandt ud af det har jeg kun brugt POSIX-signalhåndtering, for der ved
> man at det er ens på alle platforme...

signal i glibc2 følger BSD semantik, medmindre man decideret beder den om
SysV. libc5 er SysV, medmindre man beder om BSD semantik. Dvs. det er
noget rod, og derfor bedre at bruge sigaction. 

Mvh Morten


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:09 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *