wstol man page on DigitalUNIX

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

wstol(3scl)							   wstol(3scl)

NAME
       wstol, watol, watoll, watoi - convert wide-character string to integer

SYNOPSIS
       #include <widec.h>

       long wstol(const wchar_t *nptr,
		  wchar_t **endptr,
		  int base);

       long watol(wchar_t *nptr);

       long watoll(wchar_t *nptr);

       int watoi(wchar_t *nptr);

PARAMETERS
       Pointer	to  wide-character  string to be converted Points to a pointer
       that refers to the position in the supplied string at which a character
       that  cannot  be	 converted  resides  The radix in which characters are
       interpreted

DESCRIPTION
       All of the above Solaris-specific functions are mapped to the  standard
       function	 wcstol(3)  using C macros defined in the header. Refer to the
       man page for wcstol(3) for additional information on using these	 func‐
       tions.

SCL IMPLEMENTATION NOTES
       The  watoi()  function is mapped to wcstol(3) but the returned value is
       cast to an int (32-bits).

       There is no distinction between watol()	and  watoll()  on  Tru64  UNIX
       because long and long long are both 64-bit types.

RELATED INFORMATION
       Function: wcstol(3)

       Manual: Solaris Compatibility Library User's Guide

								   wstol(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