• Flipper@feddit.org
      link
      fedilink
      arrow-up
      14
      ·
      1 month ago

      The syscall to write passes a buffer and length. If it is Dev null the call just returns without doing anything more.

    • Boxscape@lemmy.sdf.org
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      1 month ago

      Programmatically, what does the kernel actually do with data sent to /dev/null?

      I imagine it’s like getting nullified in that olde show ReBoot.