News for hackers. Stuff that matters.
Re:Porting to GCC 14: C language issues by marmight on Monday February 19, 2024 @02:05PM (#39433414)

  > The corrected standard C source code might look like this (still disregarding error handling and short writes):
  >
  >  void
  >  write_string (int fd, const char \*s)
  >  {
  >    write (1, s, strlen (s));
  >  }
And disregarding the passed file descriptor! :)
Re:Porting to GCC 14: C language issues by fweimer on Monday February 19, 2024 @03:01PM (#39434044)
Hah! Thanks, fixed.