9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* expecting more from errstr
@ 1994-05-07  0:32 Scott
  0 siblings, 0 replies; only message in thread
From: Scott @ 1994-05-07  0:32 UTC (permalink / raw)


Emboldened by the favorable reply to my last query, here is 
another:

One annoying thing in Unix is when you say something like
open("/no/such/directory/or/file",0), it tells you that it something
doesn't exist, but doesn't say what, which sometimes makes for
uninformative error messages.  Now that we have errstr, instead of just
errno, it would be delightful if it would encode something about
what went wrong, so that perror could say something like
	open: failed because directory 'such' does not exist







^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1994-05-07  0:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1994-05-07  0:32 expecting more from errstr Scott

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).