Re: Redirecting Output for a fork()'d Process
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Maybe you should use perror instead of/in addition to this printf, so you would get an English description of the problem (and your users would understand the error message easily, too. Filipe Cabecinhas printf("fopen failed on error: %d - redirectPath is: %s - line number: %d\n", errno, redirectPath, __LINE__); = Mike _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... On Apr 13, 2007, at 3:29 AM, darwin-dev-request@lists.apple.com wrote: On 13 Apr, 2007, at 03:06, David Alger wrote: Actually, this is precisely what the functions in <err.h> are for. See the manpages for err() and warn(). This email sent to site_archiver@lists.apple.com
participants (1)
-
Michael Smith