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

vfwprintf.3p (2999B)


  1. '\" et
  2. .TH VFWPRINTF "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. vfwprintf,
  12. vswprintf,
  13. vwprintf
  14. \(em wide-character formatted output of a stdarg argument list
  15. .SH SYNOPSIS
  16. .LP
  17. .nf
  18. #include <stdarg.h>
  19. #include <stdio.h>
  20. #include <wchar.h>
  21. .P
  22. int vfwprintf(FILE *restrict \fIstream\fP, const wchar_t *restrict \fIformat\fP,
  23. va_list \fIarg\fP);
  24. int vswprintf(wchar_t *restrict \fIws\fP, size_t \fIn\fP,
  25. const wchar_t *restrict \fIformat\fP, va_list \fIarg\fP);
  26. int vwprintf(const wchar_t *restrict \fIformat\fP, va_list \fIarg\fP);
  27. .fi
  28. .SH DESCRIPTION
  29. The functionality described on this reference page is aligned with the
  30. ISO\ C standard. Any conflict between the requirements described here and the
  31. ISO\ C standard is unintentional. This volume of POSIX.1\(hy2017 defers to the ISO\ C standard.
  32. .P
  33. The
  34. \fIvfwprintf\fR(),
  35. \fIvswprintf\fR(),
  36. and
  37. \fIvwprintf\fR()
  38. functions shall be equivalent to
  39. \fIfwprintf\fR(),
  40. \fIswprintf\fR(),
  41. and
  42. \fIwprintf\fR()
  43. respectively, except that instead of being called with a variable
  44. number of arguments, they are called with an argument list as defined
  45. by
  46. .IR <stdarg.h> .
  47. .P
  48. These functions shall not invoke the
  49. .IR va_end
  50. macro. However, as these functions do invoke the
  51. .IR va_arg
  52. macro, the value of
  53. .IR ap
  54. after the return is unspecified.
  55. .SH "RETURN VALUE"
  56. Refer to
  57. .IR "\fIfwprintf\fR\^(\|)".
  58. .SH ERRORS
  59. Refer to
  60. .IR "\fIfwprintf\fR\^(\|)".
  61. .LP
  62. .IR "The following sections are informative."
  63. .SH EXAMPLES
  64. None.
  65. .SH "APPLICATION USAGE"
  66. Applications using these functions should call \fIva_end\fP(\fIap\fP)
  67. afterwards to clean up.
  68. .SH RATIONALE
  69. None.
  70. .SH "FUTURE DIRECTIONS"
  71. None.
  72. .SH "SEE ALSO"
  73. .IR "Section 2.5" ", " "Standard I/O Streams",
  74. .IR "\fIfwprintf\fR\^(\|)"
  75. .P
  76. The Base Definitions volume of POSIX.1\(hy2017,
  77. .IR "\fB<stdarg.h>\fP",
  78. .IR "\fB<stdio.h>\fP",
  79. .IR "\fB<wchar.h>\fP"
  80. .\"
  81. .SH COPYRIGHT
  82. Portions of this text are reprinted and reproduced in electronic form
  83. from IEEE Std 1003.1-2017, Standard for Information Technology
  84. -- Portable Operating System Interface (POSIX), The Open Group Base
  85. Specifications Issue 7, 2018 Edition,
  86. Copyright (C) 2018 by the Institute of
  87. Electrical and Electronics Engineers, Inc and The Open Group.
  88. In the event of any discrepancy between this version and the original IEEE and
  89. The Open Group Standard, the original IEEE and The Open Group Standard
  90. is the referee document. The original Standard can be obtained online at
  91. http://www.opengroup.org/unix/online.html .
  92. .PP
  93. Any typographical or formatting errors that appear
  94. in this page are most likely
  95. to have been introduced during the conversion of the source files to
  96. man page format. To report such errors, see
  97. https://www.kernel.org/doc/man-pages/reporting_bugs.html .