getwc man page on SunOS

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

getwc(3C)		 Standard C Library Functions		     getwc(3C)

NAME
       getwc - get wide character from a stream

SYNOPSIS
       #include <stdio.h>
       #include <wchar.h>

       wint_t getwc(FILE *stream);

DESCRIPTION
       The  getwc() function is equivalent to fgetwc(3C), except that if it is
       implemented as a macro it may evaluate stream more than	once,  so  the
       argument should never be an expression with side effects.

RETURN VALUES
       Refer to fgetwc(3C).

ERRORS
       Refer to fgetwc(3C).

USAGE
       This  interface	is provided to align with some current implementations
       and with possible future ISO standards.

       Because it may be implemented as a macro, getwc() may treat incorrectly
       a  stream  argument  with side effects.	In particular, getwc(*f++) may
       not work as expected.  Therefore, use of this function  is  not	recom‐
       mended; fgetwc(3C) should be used instead.

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌─────────────────────────────┬─────────────────────────────┐
       │      ATTRIBUTE TYPE	     │	    ATTRIBUTE VALUE	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Interface Stability	     │Standard			   │
       ├─────────────────────────────┼─────────────────────────────┤
       │MT-Level		     │MT-Safe			   │
       └─────────────────────────────┴─────────────────────────────┘

SEE ALSO
       fgetwc(3C), attributes(5), standards(5)

SunOS 5.10			  24 Jul 2002			     getwc(3C)
[top]

List of man pages available for SunOS

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