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

putwc.3p (2577B)


  1. '\" et
  2. .TH PUTWC "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. putwc
  12. \(em put a wide character on a stream
  13. .SH SYNOPSIS
  14. .LP
  15. .nf
  16. #include <stdio.h>
  17. #include <wchar.h>
  18. .P
  19. wint_t putwc(wchar_t \fIwc\fP, FILE *\fIstream\fP);
  20. .fi
  21. .SH DESCRIPTION
  22. The functionality described on this reference page is aligned with the
  23. ISO\ C standard. Any conflict between the requirements described here and the
  24. ISO\ C standard is unintentional. This volume of POSIX.1\(hy2017 defers to the ISO\ C standard.
  25. .P
  26. The
  27. \fIputwc\fR()
  28. function shall be equivalent to
  29. \fIfputwc\fR(),
  30. except that if it is implemented as a macro it may evaluate
  31. .IR stream
  32. more than once, so the argument should never be an expression with
  33. side-effects.
  34. .SH "RETURN VALUE"
  35. Refer to
  36. .IR "\fIfputwc\fR\^(\|)".
  37. .SH ERRORS
  38. Refer to
  39. .IR "\fIfputwc\fR\^(\|)".
  40. .LP
  41. .IR "The following sections are informative."
  42. .SH EXAMPLES
  43. None.
  44. .SH "APPLICATION USAGE"
  45. Since it may be implemented as a macro,
  46. \fIputwc\fR()
  47. may treat a
  48. .IR stream
  49. argument with side-effects incorrectly. In particular,
  50. \fIputwc\fP(\fIwc\fP,*\fIf\fP++) need not work correctly. Therefore,
  51. use of this function is not recommended;
  52. \fIfputwc\fR()
  53. should be used instead.
  54. .SH RATIONALE
  55. None.
  56. .SH "FUTURE DIRECTIONS"
  57. None.
  58. .SH "SEE ALSO"
  59. .IR "Section 2.5" ", " "Standard I/O Streams",
  60. .IR "\fIfputwc\fR\^(\|)"
  61. .P
  62. The Base Definitions volume of POSIX.1\(hy2017,
  63. .IR "\fB<stdio.h>\fP",
  64. .IR "\fB<wchar.h>\fP"
  65. .\"
  66. .SH COPYRIGHT
  67. Portions of this text are reprinted and reproduced in electronic form
  68. from IEEE Std 1003.1-2017, Standard for Information Technology
  69. -- Portable Operating System Interface (POSIX), The Open Group Base
  70. Specifications Issue 7, 2018 Edition,
  71. Copyright (C) 2018 by the Institute of
  72. Electrical and Electronics Engineers, Inc and The Open Group.
  73. In the event of any discrepancy between this version and the original IEEE and
  74. The Open Group Standard, the original IEEE and The Open Group Standard
  75. is the referee document. The original Standard can be obtained online at
  76. http://www.opengroup.org/unix/online.html .
  77. .PP
  78. Any typographical or formatting errors that appear
  79. in this page are most likely
  80. to have been introduced during the conversion of the source files to
  81. man page format. To report such errors, see
  82. https://www.kernel.org/doc/man-pages/reporting_bugs.html .