home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.c      Meh, in C you gotta define EVERYTHING      243,242 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 241,868 of 243,242   
   Keith Thompson to Michael Sanders   
   Re: SIG_DFL   
   08 Nov 25 14:57:35   
   
   From: Keith.S.Thompson+u@gmail.com   
      
   Michael Sanders  writes:   
   > One of many newbie questions from me... Cant find the info I'm looking for.   
   >   
   > If SIG_IGN is an acronym for signal ignore, then what does DFL mean?   
   > I've know (well I presume) it restores default behavior, but the acronym?   
      
   It never would have occurred to me that SIG_DFL was anything other   
   than an abbreviation for SIGnal_DeFauLt.   
      
   It's clear enough that SIG_ERR means SIGnal_ERRor, and SIG_IGN   
   means SIGnal_IGNore.  SIG_DFL follows the same pattern of SIG_XXX,   
   but doesn't take the first three letters of the word it abbreviates   
   -- probably because DEF suggests "definition" rather than "default".   
      
   There are plenty of cases where C identifiers are abbreviations not   
   taken from the first letters of a word.  See strcmp (STRing CoMPare),   
   sqrt (SQuare RooT), etc.   
      
   (Pedantic quibble: It's not really an acronym, which is a word formed   
   from the initials of several words, like laser, radar, or scuba).   
      
   --   
   Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com   
   void Void(void) { Void(); } /* The recursive call of the void */   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca