Scientific Operations Bellum Gratia Artis

testing - 1997 - November - this message

[ previous , next ]

Subject: [9fans] fprint(int fd, const char* format,...);

From: erik quanstrom <quanstro@[REDACTED]>
Date: Fri, 21 Nov 1997 10:51:19 -0500

>on Plan 9, you can use
> fprint(2, ...);
>to print directly to a file descriptor, instead of
> fprintf(stderr, ...
>avoiding an old library and the possible need to fflush.

plan9 does not have a monopoly on this. i have been
using the "print" library for years. from the copyright:

; cat COPYRIGHT
/*
* Copyright 1994 Paul Haahr, Scott Schwartz, Byron Rakitzis.
* All rights reserved.
[...]

sorry, i don't know where it lives in ftp-land off hand.

erik