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

wcschr.3p (2518B)


  1. '\" et
  2. .TH WCSCHR "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. wcschr
  12. \(em wide-character string scanning operation
  13. .SH SYNOPSIS
  14. .LP
  15. .nf
  16. #include <wchar.h>
  17. .P
  18. wchar_t *wcschr(const wchar_t *\fIws\fP, wchar_t \fIwc\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. \fIwcschr\fR()
  27. function shall locate the first occurrence of
  28. .IR wc
  29. in the wide-character string pointed to by
  30. .IR ws .
  31. The application shall ensure that the value of
  32. .IR wc
  33. is a character representable as a type
  34. .BR wchar_t
  35. and a wide-character code corresponding to a valid character in the
  36. current locale. The terminating null wide-character code is considered
  37. to be part of the wide-character string.
  38. .SH "RETURN VALUE"
  39. Upon completion,
  40. \fIwcschr\fR()
  41. shall return a pointer to the wide-character code, or a null pointer if
  42. the wide-character code is not found.
  43. .SH ERRORS
  44. No errors are defined.
  45. .LP
  46. .IR "The following sections are informative."
  47. .SH EXAMPLES
  48. None.
  49. .SH "APPLICATION USAGE"
  50. None.
  51. .SH RATIONALE
  52. None.
  53. .SH "FUTURE DIRECTIONS"
  54. None.
  55. .SH "SEE ALSO"
  56. .IR "\fIwcsrchr\fR\^(\|)"
  57. .P
  58. The Base Definitions volume of POSIX.1\(hy2017,
  59. .IR "\fB<wchar.h>\fP"
  60. .\"
  61. .SH COPYRIGHT
  62. Portions of this text are reprinted and reproduced in electronic form
  63. from IEEE Std 1003.1-2017, Standard for Information Technology
  64. -- Portable Operating System Interface (POSIX), The Open Group Base
  65. Specifications Issue 7, 2018 Edition,
  66. Copyright (C) 2018 by the Institute of
  67. Electrical and Electronics Engineers, Inc and The Open Group.
  68. In the event of any discrepancy between this version and the original IEEE and
  69. The Open Group Standard, the original IEEE and The Open Group Standard
  70. is the referee document. The original Standard can be obtained online at
  71. http://www.opengroup.org/unix/online.html .
  72. .PP
  73. Any typographical or formatting errors that appear
  74. in this page are most likely
  75. to have been introduced during the conversion of the source files to
  76. man page format. To report such errors, see
  77. https://www.kernel.org/doc/man-pages/reporting_bugs.html .