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

vfwscanf.3p (2984B)


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