Pedro F. Giffuni e382e86bb4 setmode(3): Make sure that setmode sets errno on failure.
Our man page already documented this partially but now
we have some consistent behavior.

PR:		136669
Obtained from:	NetBSD (CVS rev. 1.31, 1.33)
Relnotes:	yes
MFC after:	3 weeks
2015-02-22 20:16:44 +00:00
..
2011-11-26 16:49:25 +00:00
2012-08-11 12:07:24 +00:00
2011-10-01 12:19:48 +00:00
2011-10-01 12:19:48 +00:00
2013-08-18 13:25:18 +00:00
2012-04-26 19:21:58 +00:00
2011-05-25 14:13:53 +00:00
2015-02-15 21:11:07 +00:00
2011-12-20 22:56:13 +00:00
2013-04-11 20:15:37 +00:00
2009-03-04 01:01:26 +00:00
2012-03-26 15:18:14 +00:00
2011-02-04 16:40:50 +00:00
2013-04-23 13:03:03 +00:00
2013-04-23 13:03:03 +00:00
2012-12-12 15:27:33 +00:00
2009-05-07 13:49:48 +00:00
2014-11-25 03:50:31 +00:00
2010-01-17 15:43:14 +00:00
2015-02-17 16:01:00 +00:00