How can I output to STDERR with Swift? April 18, 2023 by Tarik For Swift 4.x: import Darwin fputs("hello from libc\n", stderr)