strtows man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

strtows(3scl)							 strtows(3scl)

NAME
       strtows,	 wstostr  -  convert  between  wide  and  multi-byte character
       strings

LIBRARY
       SCL Miscellaneous Library (libsolmisc.so, libsolmisc.a)

SYNOPSIS
       #include <widec.h>

       wchar_t *strtows(wchar_t *dst,
			const char *src);

       char *wstostr(char *dst,
		     const wchar_t *src);

PARAMETERS
       Pointer to buffer for receiving converted string Pointer to buffer con‐
       taining string to be converted

DESCRIPTION
       The  strtows()  function	 converts a multi-byte (File Code) string to a
       wide-character (Process Code) string.

       The wstostr() function converts a wide-character string to a multi-byte
       string.

SCL IMPLEMENTATION NOTES
       It is assumed that the buffer pointed to by the dst parameter is suffi‐
       ciently large to contain the converted string.

       These  functions	 are  implemented  by  calling	the  mbstowcs(3)   and
       wcstombs(3) functions.

RETURN VALUES
       Both  functions return a pointer to the converted string if successful,
       otherwise they return NULL, with errno set to EILSEQ.

ERRORS
       The source buffer contains an invalid character.

RELATED INFORMATION
       Functions: mbstowcs(3), wcstombs(3)

       Manual: Solaris Compatibility Library User's Guide

								 strtows(3scl)
[top]

List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net