1824638 Members
4580 Online
109672 Solutions
New Discussion юеВ

ERRNO 22

 
SOLVED
Go to solution
Marcelo De Florio
Frequent Advisor

ERRNO 22

I execute the tusc command and then, found this error:
ERR#22 EINVAL

Anybody know this error.

Thanks.
MDF
7 REPLIES 7
RikTytgat
Honored Contributor

Re: ERRNO 22

Hi,

Error 22 EINVAL means 'invalid argument'. The call that produced this error has an argument that does not correspond to what is should be.

Bye,
Rik.
James R. Ferguson
Acclaimed Contributor
Solution

Re: ERRNO 22

Hi:

From /usr/include/sys/errno.h "EINVAL" is number 22 and means "invalid argument".

...JRF...
Marcelo De Florio
Frequent Advisor

Re: ERRNO 22

Rik,
You know a white paper or another document where are this errors.

Thank.
MDF
Robert Gamble
Respected Contributor

Re: ERRNO 22

UNIX error 22 is EINVAL (invalid argument)

tusc is not a native command to HP-UX, it must be downloaded from http://hpux.cae.wisc.edu/
. Try looking there for any help or man pages.

Good Luck!
James R. Ferguson
Acclaimed Contributor

Re: ERRNO 22

Hi:

As I stated above, see: /usr/include/sys/errno.h

...JRF...
James R. Ferguson
Acclaimed Contributor

Re: ERRNO 22

Hi (again):

Better answer:

See: /usr/include/sys/errno.h
AND see the man pages: 'man 2 errno'.

...JRF...

federico_3
Honored Contributor

Re: ERRNO 22

Use this script to valuate an error message:

# error.txt 22

or
# error.txt EINVAL



federico