IRC channel logs

2025-05-04.log

back to list of logs

<sneek>Yey! dsmith is back!!
<dsmith>sneek, botsnack
<sneek>:)
<dsmith>!uptime
<sneek>I've been a process for 3 months
<sneek>This system has been up 15 weeks, 20 hours, 23 minutes
<lechner>Hi, the ptrace syscall wants people to clear and then check errno (instead of relying on the return value). Is there a way clear errno from Guile? https://www.man7.org/linux/man-pages/man2/ptrace.2.html
<Arsen>you're writing a C wrapper for ptrace, right? it's probably best to wrap it in a way that clears errno and returns the new errno value in the same C function, so that nothing inadvertently changes it