• callyral [he/they]
    link
    English
    168 months ago

    C: "What if everything was a sh: segmentation fault ./a.out

    • @257m@sh.itjust.works
      link
      fedilink
      English
      38 months ago

      Why would it calling the sh program? When I segfault it just says Segmentation Fault: core dumped. Maybe its because I use bash?

      • callyral [he/they]
        link
        English
        2
        edit-2
        8 months ago

        it depends on the segfault, i just used an example segfault shown in geeksforgeeks, in zsh it says zsh: segmentation fault \ for the first one so i changed it to sh for the comment