getws(3scl)getws(3scl)NAMEgetws - obtains a wide-character string from standard input
SYNOPSIS
#include <widec.h>
wchar_t *getws(wchar_t *str);
PARAMETERS
Pointer to buffer into which entered characters are stored
DESCRIPTION
The getws() function reads a string of wide characters from standard
input streams and stores them in the buffer pointed to by parameter
str. Input is complete when a newline character is read. This is dis‐
carded and a terminating null character is stored in the buffer.
RETURN VALUES
A pointer to the receive buffer (str) is returned if successful, other‐
wise NULL is returned.
SCL IMPLEMENTATION NOTES
This function is implemented as a C preprocessor macro, and maps to
standard function fgetws(3). Refer to the man page for additional
information on using this function.
RELATED INFORMATION
Function: fgetws(3)
Manual: Solaris Compatibility Library User's Guide
getws(3scl)