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,865 of 243,242   
   Kaz Kylheku to Michael Sanders   
   Re: SIG_DFL   
   09 Nov 25 02:24:44   
   
   From: 643-408-1753@kylheku.com   
      
   On 2025-11-08, Michael Sanders  wrote:   
   > On Sat, 08 Nov 2025 14:57:35 -0800, Keith Thompson wrote:   
   >   
   >> (Pedantic quibble: It's not really an acronym, which is a word formed   
   >> from the initials of several words, like laser, radar, or scuba).   
   >   
   > Mnemonic? I don't know...   
      
   DFL is a pretty common abbreviation of "default".   
      
   Search for identifiers starting with "dfl" or "DFL" (or any mixutre of these)   
   in a project of mine that is maybe 90-100 KLOC.   
      
   That's just one project by one author.   
      
   ChangeLog-2009-2015:    * gc.c (MALLOC_DELTA_THRESH): Macro remaned to   
   DFL_MALLOC_DELTA_THRESH.   
   gc.c:#define DFL_MALLOC_DELTA_THRESH (16L * 1024 * 1024)   
   gc.c:#define DFL_STACK_LIMIT         (128 * 1024L)   
   gc.c:#define DFL_MALLOC_DELTA_THRESH (64L * 1024 * 1024)   
   gc.c:#define DFL_STACK_LIMIT         (16384 * 1024L)   
   gc.c:alloc_bytes_t opt_gc_delta = DFL_MALLOC_DELTA_THRESH;   
   gc.c:  gc_stack_limit = gc_stack_bottom - DFL_STACK_LIMIT / sizeof (val);   
   lib.c:  dfl:   
   lib.c:      goto dfl;   
   lib.c:  val dfl = env->v.vec[2];   
   lib.c:  return if3(pos, ref(rng, pos), dfl);   
   lib.c:  cons_bind (hash, dfl, env);   
   lib.c:  return if3(cell, cdr(cell), dfl);   
   lib.c:val relate(val domain_seq, val range_seq, val dfl_val)   
   lib.c:  return if3(missingp(dfl_val),   
   lib.c:                 if3(null(dfl_val),   
   lib.c:                     func_f1(cons(hash, dfl_val), do_relate_hash_dfl)),   
   lib.c:                 func_f1(vec(domain_seq, range_seq, dfl_val, nao),   
   lib.h:val relate(val domain_seq, val range_seq, val dfl_val);   
   lib.h:#define default_arg(arg, dfl) if3(null_or_missing_p(arg), dfl, arg)   
   lib.h:#define default_arg_strict(arg, dfl) if3(missingp(arg), dfl, arg)   
   match.c:          cons_bind (var, dfl, car(iter));   
   match.c:          int is_dfl = (dfl != noval_s);   
   match.c:            strictly_new_bindings = acons(var, dfl, stri   
   tly_new_bindings);   
   match.c:      cons_bind (var, dfl_val, car(iter));   
   match.c:        if (dfl_val == noval_s) {   
   match.c:          c->bindings = acons(var, dfl_val, c->bindings);   
   match.c:      val dfl = cadr(var);   
   match.c:      val dfl_ex = expand(dfl, nil);   
   match.c:      ptail = list_collect(ptail, if3(dfl == dfl_ex,   
   match.c:                                      var, list(sym, dfl_ex, nao)));   
   match.c:          cons_bind (var, dfl, car(iter));   
   match.c:          int is_dfl = (dfl != noval_s);   
   match.c:            strictly_new_bindings = acons(var, dfl, stri   
   tly_new_bindings);   
   stdlib/getopts.tl:(defmeth opts lambda (me key : dfl)   
   stdlib/getopts.tl:  (iflet ((o [me.opt-hash key])) o.arg dfl))   
   stdlib/match.tl:  (let ((dfl-cnt 0))   
   stdlib/match.tl:                                    (inc dfl-cnt))]]]   
   stdlib/match.tl:             (< dfl-cnt 2)   
   stdlib/match.tl:             (or (zerop dfl-cnt)   
   stdlib/place.tl:                                   dfl-sym)   
   stdlib/place.tl:                              (,dfl-sym ,',default))   
   stdlib/place.tl:                           ,dfl-sym)))   
   stream.c:    int dfl_precision = 0, dfl_digits = 0, print_base = 0;   
   stream.c:              if (!dfl_digits)   
   stream.c:                dfl_digits = c_num(cdr(lookup_var(nil,    
   rint_flo_digits_s)), self);   
   stream.c:              precision = dfl_digits;   
   stream.c:              if (!dfl_precision)   
   stream.c:                dfl_precision = c_num(cdr(lookup_var(nil,   
   stream.c:              precision = dfl_precision;   
   txr.1:.code "[o \(dqv\(dq dfl]"   
   txr.1:.codn dfl .   
      
   I do not believe I'm influenced by SIG_DFL, or if so, certainly   
   not to a more significant degree by that than other exposure to "dfl"   
   in the wild.   
      
   --   
   TXR Programming Language: http://nongnu.org/txr   
   Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal   
   Mastodon: @Kazinator@mstdn.ca   
      
   --- 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