Operating System - HP-UX
1833315 Members
2816 Online
110051 Solutions
New Discussion

Has someone used firstof2,secof2,byte_status how is that it is not needed in 11.0

 
Deepak_7
Occasional Advisor

Has someone used firstof2,secof2,byte_status how is that it is not needed in 11.0

Hi,

Has someone used firstof2,secof2,byte_status how is that it is not needed in 11.0.
I am studying between hP-UX 9.x and 11.0. And resolving the porting issues for language related functionality.
The realease not of 10.x says that these
are obsolete and are so removed from the
library, and one can use multibyte routines
for these.
Is it that if the source code is using
secof2,firsof2,byte_status, then this has
to be removed and replaced wsprintf, wscpy,mb..
routines in the code.

Is there any wrapper for secof2,firstof2,etc.

Even I did not find a sampe code of using
firstof2,secof2 on net.

Any help on this would be appreciated.

Thanks and Regards
Deepak

2 REPLIES 2
harry d brown jr
Honored Contributor

Re: Has someone used firstof2,secof2,byte_status how is that it is not needed in 11.0

Have you done a "man multibyte"?

live free or die
harry
Live Free or Die
Deepak_7
Occasional Advisor

Re: Has someone used firstof2,secof2,byte_status how is that it is not needed in 11.0

Hi,

Thanks for the suggestion, even one of the
release says to use the multibyte.

Can anyone show me a small application usage
of firstof2,secof2 and it's replaced multibyte
function.

Please let me know, if anyone has any suggestions on the same.

Thanks and Regards
Deepak