Re: neophyte: tcsetattr() gives 22 error in i386, not in amd64?

2008-10-25 Thread en0f
, try compiling with > -Wall -W and investigate any warnings that are produced. > > By the way, errno 22 is EINVAL, "Invalid argument". perror() is your > friend. Strange freebsd doesnt document error numbers. On POSIX, errno 22 i

Re: neophyte: tcsetattr() gives 22 error in i386, not in amd64?

2008-10-25 Thread en0f
Jeremy Chadwick wrote: > On Sat, Oct 25, 2008 at 06:06:38PM +1030, en0f wrote: >> Nate Eldredge wrote: >>> On Fri, 24 Oct 2008, Steve Franks wrote: >>> >>>> Hi, >>>> >>>> I'm getting a 22 errno from tcsetattr() on 7-STABLE i386 in

Re: neophyte: tcsetattr() gives 22 error in i386, not in amd64?

2008-10-25 Thread en0f
N.J. Mann wrote: > In message <[EMAIL PROTECTED]>, > Jeremy Chadwick ([EMAIL PROTECTED]) wrote: >> On Sat, Oct 25, 2008 at 06:29:54PM +1030, en0f wrote: >>> Jeremy Chadwick wrote: >>>> On Sat, Oct 25, 2008 at 06:06:38PM +1030, en0f wrote: >>>&g