Operating System - HP-UX
1824538 Members
3824 Online
109672 Solutions
New Discussion

Equivalent of wsprintf on hp-ux 11.0

 
Deepak_3
Occasional Contributor

Equivalent of wsprintf on hp-ux 11.0

Hi,

Can anyone please suggest an equivalent functionality for wsprintf on HP-UX 11.0 ?
wsprintf is present on Windiows , it seems
to be there on Sun as well but could not find in HP.
Is anyone aware of how do we simulate this fuctionality on HPUX 11.0.

Thanks and Regards
Deepak

1 REPLY 1
Rainer_1
Honored Contributor

Re: Equivalent of wsprintf on hp-ux 11.0

wsprintf() handles wide character strings.
This can also be done with sprintf().
Use the uppercase format descriptors ie: %s -> %S or %c -> %C
see also man 3 printf