[lkml]   [1996]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: NULL strings cause "segmenation fault"
    > 	if (strcmp(s, t) == 0) 
    > It seems that if s or t are NULL pointers (as they are when first
    > allocated) then I get the fault. According to the MAN page on strcmp, if

    if you are using ELF you get a segfault. if you are using AOUT you
    dont get a segfault. instead the process in question can consume
    up to 99% of CPUcycles. so getting a segfault is better.

     \ /
      Last update: 2005-03-22 13:38    [W:0.016 / U:6.920 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site