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

isblank.3p (3410B)


  1. '\" et
  2. .TH ISBLANK "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. isblank,
  12. isblank_l
  13. \(em test for a blank character
  14. .SH SYNOPSIS
  15. .LP
  16. .nf
  17. #include <ctype.h>
  18. .P
  19. int isblank(int \fIc\fP);
  20. int isblank_l(int \fIc\fP, locale_t \fIlocale\fP);
  21. .fi
  22. .SH DESCRIPTION
  23. For
  24. \fIisblank\fR():
  25. The functionality described on this reference page is aligned with the
  26. ISO\ C standard. Any conflict between the requirements described here and the
  27. ISO\ C standard is unintentional. This volume of POSIX.1\(hy2017 defers to the ISO\ C standard.
  28. .P
  29. The
  30. \fIisblank\fR()
  31. and
  32. \fIisblank_l\fR()
  33. functions shall test whether
  34. .IR c
  35. is a character of class
  36. .BR blank
  37. in the current locale,
  38. or in the locale represented by
  39. .IR locale ,
  40. respectively; see the Base Definitions volume of POSIX.1\(hy2017,
  41. .IR "Chapter 7" ", " "Locale".
  42. .P
  43. The
  44. .IR c
  45. argument is a type
  46. .BR int ,
  47. the value of which the application shall ensure is a character
  48. representable as an
  49. .BR "unsigned char"
  50. or equal to the value of the macro EOF. If the argument has any other
  51. value, the behavior is undefined.
  52. .P
  53. The behavior is undefined if the
  54. .IR locale
  55. argument to
  56. \fIisblank_l\fR()
  57. is the special locale object LC_GLOBAL_LOCALE or is not a valid locale
  58. object handle.
  59. .SH "RETURN VALUE"
  60. The
  61. \fIisblank\fR()
  62. and
  63. \fIisblank_l\fR()
  64. functions shall return non-zero if
  65. .IR c
  66. is a
  67. <blank>;
  68. otherwise, they shall return 0.
  69. .SH ERRORS
  70. No errors are defined.
  71. .LP
  72. .IR "The following sections are informative."
  73. .SH EXAMPLES
  74. None.
  75. .SH "APPLICATION USAGE"
  76. To ensure applications portability, especially across natural
  77. languages, only these functions and the functions in the reference pages
  78. listed in the SEE ALSO section should be used for character classification.
  79. .SH RATIONALE
  80. None.
  81. .SH "FUTURE DIRECTIONS"
  82. None.
  83. .SH "SEE ALSO"
  84. .IR "\fIisalnum\fR\^(\|)",
  85. .IR "\fIisalpha\fR\^(\|)",
  86. .IR "\fIiscntrl\fR\^(\|)",
  87. .IR "\fIisdigit\fR\^(\|)",
  88. .IR "\fIisgraph\fR\^(\|)",
  89. .IR "\fIislower\fR\^(\|)",
  90. .IR "\fIisprint\fR\^(\|)",
  91. .IR "\fIispunct\fR\^(\|)",
  92. .IR "\fIisspace\fR\^(\|)",
  93. .IR "\fIisupper\fR\^(\|)",
  94. .IR "\fIisxdigit\fR\^(\|)",
  95. .IR "\fIsetlocale\fR\^(\|)",
  96. .IR "\fIuselocale\fR\^(\|)"
  97. .P
  98. The Base Definitions volume of POSIX.1\(hy2017,
  99. .IR "Chapter 7" ", " "Locale",
  100. .IR "\fB<ctype.h>\fP",
  101. .IR "\fB<locale.h>\fP"
  102. .\"
  103. .SH COPYRIGHT
  104. Portions of this text are reprinted and reproduced in electronic form
  105. from IEEE Std 1003.1-2017, Standard for Information Technology
  106. -- Portable Operating System Interface (POSIX), The Open Group Base
  107. Specifications Issue 7, 2018 Edition,
  108. Copyright (C) 2018 by the Institute of
  109. Electrical and Electronics Engineers, Inc and The Open Group.
  110. In the event of any discrepancy between this version and the original IEEE and
  111. The Open Group Standard, the original IEEE and The Open Group Standard
  112. is the referee document. The original Standard can be obtained online at
  113. http://www.opengroup.org/unix/online.html .
  114. .PP
  115. Any typographical or formatting errors that appear
  116. in this page are most likely
  117. to have been introduced during the conversion of the source files to
  118. man page format. To report such errors, see
  119. https://www.kernel.org/doc/man-pages/reporting_bugs.html .