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

wmemset.3p (2610B)


  1. '\" et
  2. .TH WMEMSET "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. wmemset
  12. \(em set wide characters in memory
  13. .SH SYNOPSIS
  14. .LP
  15. .nf
  16. #include <wchar.h>
  17. .P
  18. wchar_t *wmemset(wchar_t *\fIws\fP, wchar_t \fIwc\fP, size_t \fIn\fP);
  19. .fi
  20. .SH DESCRIPTION
  21. The functionality described on this reference page is aligned with the
  22. ISO\ C standard. Any conflict between the requirements described here and the
  23. ISO\ C standard is unintentional. This volume of POSIX.1\(hy2017 defers to the ISO\ C standard.
  24. .P
  25. The
  26. \fIwmemset\fR()
  27. function shall copy the value of
  28. .IR wc
  29. into each of the first
  30. .IR n
  31. wide characters of the object pointed to by
  32. .IR ws .
  33. This function shall not be affected by locale and all
  34. .BR wchar_t
  35. values shall be treated identically. The null wide character and
  36. .BR wchar_t
  37. values not corresponding to valid characters shall not be treated
  38. specially.
  39. .P
  40. If
  41. .IR n
  42. is zero, the application shall ensure that
  43. .IR ws
  44. is a valid pointer, and the function shall copy zero wide characters.
  45. .SH "RETURN VALUE"
  46. The
  47. \fIwmemset\fR()
  48. functions shall return the value of
  49. .IR ws .
  50. .SH ERRORS
  51. No errors are defined.
  52. .LP
  53. .IR "The following sections are informative."
  54. .SH EXAMPLES
  55. None.
  56. .SH "APPLICATION USAGE"
  57. None.
  58. .SH RATIONALE
  59. None.
  60. .SH "FUTURE DIRECTIONS"
  61. None.
  62. .SH "SEE ALSO"
  63. .IR "\fIwmemchr\fR\^(\|)",
  64. .IR "\fIwmemcmp\fR\^(\|)",
  65. .IR "\fIwmemcpy\fR\^(\|)",
  66. .IR "\fIwmemmove\fR\^(\|)"
  67. .P
  68. The Base Definitions volume of POSIX.1\(hy2017,
  69. .IR "\fB<wchar.h>\fP"
  70. .\"
  71. .SH COPYRIGHT
  72. Portions of this text are reprinted and reproduced in electronic form
  73. from IEEE Std 1003.1-2017, Standard for Information Technology
  74. -- Portable Operating System Interface (POSIX), The Open Group Base
  75. Specifications Issue 7, 2018 Edition,
  76. Copyright (C) 2018 by the Institute of
  77. Electrical and Electronics Engineers, Inc and The Open Group.
  78. In the event of any discrepancy between this version and the original IEEE and
  79. The Open Group Standard, the original IEEE and The Open Group Standard
  80. is the referee document. The original Standard can be obtained online at
  81. http://www.opengroup.org/unix/online.html .
  82. .PP
  83. Any typographical or formatting errors that appear
  84. in this page are most likely
  85. to have been introduced during the conversion of the source files to
  86. man page format. To report such errors, see
  87. https://www.kernel.org/doc/man-pages/reporting_bugs.html .