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

wcsspn.3p (2367B)


  1. '\" et
  2. .TH WCSSPN "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. wcsspn
  12. \(em get the length of a wide substring
  13. .SH SYNOPSIS
  14. .LP
  15. .nf
  16. #include <wchar.h>
  17. .P
  18. size_t wcsspn(const wchar_t *\fIws1\fP, const wchar_t *\fIws2\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. \fIwcsspn\fR()
  27. function shall compute the length (in wide characters) of the
  28. maximum initial segment of the wide-character string pointed to by
  29. .IR ws1
  30. which consists entirely of wide-character codes from the wide-character
  31. string pointed to by
  32. .IR ws2 .
  33. .SH "RETURN VALUE"
  34. The
  35. \fIwcsspn\fR()
  36. function shall return the length of the initial substring of
  37. .IR ws1 ;
  38. no return value is reserved to indicate an error.
  39. .SH ERRORS
  40. No errors are defined.
  41. .LP
  42. .IR "The following sections are informative."
  43. .SH EXAMPLES
  44. None.
  45. .SH "APPLICATION USAGE"
  46. None.
  47. .SH RATIONALE
  48. None.
  49. .SH "FUTURE DIRECTIONS"
  50. None.
  51. .SH "SEE ALSO"
  52. .IR "\fIwcscspn\fR\^(\|)"
  53. .P
  54. The Base Definitions volume of POSIX.1\(hy2017,
  55. .IR "\fB<wchar.h>\fP"
  56. .\"
  57. .SH COPYRIGHT
  58. Portions of this text are reprinted and reproduced in electronic form
  59. from IEEE Std 1003.1-2017, Standard for Information Technology
  60. -- Portable Operating System Interface (POSIX), The Open Group Base
  61. Specifications Issue 7, 2018 Edition,
  62. Copyright (C) 2018 by the Institute of
  63. Electrical and Electronics Engineers, Inc and The Open Group.
  64. In the event of any discrepancy between this version and the original IEEE and
  65. The Open Group Standard, the original IEEE and The Open Group Standard
  66. is the referee document. The original Standard can be obtained online at
  67. http://www.opengroup.org/unix/online.html .
  68. .PP
  69. Any typographical or formatting errors that appear
  70. in this page are most likely
  71. to have been introduced during the conversion of the source files to
  72. man page format. To report such errors, see
  73. https://www.kernel.org/doc/man-pages/reporting_bugs.html .