On Thu, 1 Jun 2017 11:44:29 -0700, Charles Mills wrote:
>
>(For anyone not familiar, strcasecmp() is documented as
> https://www.ibm.com/support/knowledgecenter/SSLTBW_2.2.0/com.ibm.zos.v2r2.bpxbd00/rsrccm.htm
>  .)
> 
Where I read:
o There are no errno values defined.
That's surprising and somewhat disappointing.

o I ought at least to
  report Invalid Pointer if either argument is NULL.  But since MVS 5.2
  or so, z/OS has made a pusillanimous accommodation to UNIX
  behavior by often treating NULL as &0.  In times of yore, it used
  report that error clearly.  But it's according to POSIX.

o And it ought to report invalid encoding sequence, especially for such
  as LC_COLLATE="en_US.UTF-8".  Again, POSIX tolerates it.  But
  what result should one expect?

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to