logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

getwchar.3p (2402B)


  1. '\" et
  2. .TH GETWCHAR "3P" 2017 "IEEE/The Open Group" "POSIX Programmer's Manual"
  3. .\"
  4. .SH PROLOG
  5. This manual page is part of the POSIX Programmer's Manual.
  6. The Linux implementation of this interface may differ (consult
  7. the corresponding Linux manual page for details of Linux behavior),
  8. or the interface may not be implemented on Linux.
  9. .\"
  10. .SH NAME
  11. getwchar
  12. \(em get a wide character from a
  13. .IR stdin
  14. stream
  15. .SH SYNOPSIS
  16. .LP
  17. .nf
  18. #include <wchar.h>
  19. .P
  20. wint_t getwchar(void);
  21. .fi
  22. .SH DESCRIPTION
  23. The functionality described on this reference page is aligned with the
  24. ISO\ C standard. Any conflict between the requirements described here and the
  25. ISO\ C standard is unintentional. This volume of POSIX.1\(hy2017 defers to the ISO\ C standard.
  26. .P
  27. The
  28. \fIgetwchar\fR()
  29. function shall be equivalent to \fIgetwc\fP(\fIstdin\fP).
  30. .SH "RETURN VALUE"
  31. Refer to
  32. .IR "\fIfgetwc\fR\^(\|)".
  33. .SH ERRORS
  34. Refer to
  35. .IR "\fIfgetwc\fR\^(\|)".
  36. .LP
  37. .IR "The following sections are informative."
  38. .SH EXAMPLES
  39. None.
  40. .SH "APPLICATION USAGE"
  41. If the
  42. .BR wint_t
  43. value returned by
  44. \fIgetwchar\fR()
  45. is stored into a variable of type
  46. .BR wchar_t
  47. and then compared against the
  48. .BR wint_t
  49. macro WEOF, the result may be incorrect. Only the
  50. .BR wint_t
  51. type is guaranteed to be able to represent any wide character and
  52. WEOF.
  53. .SH RATIONALE
  54. None.
  55. .SH "FUTURE DIRECTIONS"
  56. None.
  57. .SH "SEE ALSO"
  58. .IR "Section 2.5" ", " "Standard I/O Streams",
  59. .IR "\fIfgetwc\fR\^(\|)",
  60. .IR "\fIgetwc\fR\^(\|)"
  61. .P
  62. The Base Definitions volume of POSIX.1\(hy2017,
  63. .IR "\fB<wchar.h>\fP"
  64. .\"
  65. .SH COPYRIGHT
  66. Portions of this text are reprinted and reproduced in electronic form
  67. from IEEE Std 1003.1-2017, Standard for Information Technology
  68. -- Portable Operating System Interface (POSIX), The Open Group Base
  69. Specifications Issue 7, 2018 Edition,
  70. Copyright (C) 2018 by the Institute of
  71. Electrical and Electronics Engineers, Inc and The Open Group.
  72. In the event of any discrepancy between this version and the original IEEE and
  73. The Open Group Standard, the original IEEE and The Open Group Standard
  74. is the referee document. The original Standard can be obtained online at
  75. http://www.opengroup.org/unix/online.html .
  76. .PP
  77. Any typographical or formatting errors that appear
  78. in this page are most likely
  79. to have been introduced during the conversion of the source files to
  80. man page format. To report such errors, see
  81. https://www.kernel.org/doc/man-pages/reporting_bugs.html .