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

isascii.3p (2104B)


  1. '\" et
  2. .TH ISASCII "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. isascii
  12. \(em test for a 7-bit US-ASCII character
  13. .SH SYNOPSIS
  14. .LP
  15. .nf
  16. #include <ctype.h>
  17. .P
  18. int isascii(int \fIc\fP);
  19. .fi
  20. .SH DESCRIPTION
  21. The
  22. \fIisascii\fR()
  23. function shall test whether
  24. .IR c
  25. is a 7-bit US-ASCII character code.
  26. .P
  27. The
  28. \fIisascii\fR()
  29. function is defined on all integer values.
  30. .SH "RETURN VALUE"
  31. The
  32. \fIisascii\fR()
  33. function shall return non-zero if
  34. .IR c
  35. is a 7-bit US-ASCII character code between 0 and octal 0177 inclusive;
  36. otherwise, it shall return 0.
  37. .SH ERRORS
  38. No errors are defined.
  39. .LP
  40. .IR "The following sections are informative."
  41. .SH EXAMPLES
  42. None.
  43. .SH "APPLICATION USAGE"
  44. The
  45. \fIisascii\fR()
  46. function cannot be used portably in a localized application.
  47. .SH RATIONALE
  48. None.
  49. .SH "FUTURE DIRECTIONS"
  50. The
  51. \fIisascii\fR()
  52. function may be removed in a future version.
  53. .SH "SEE ALSO"
  54. The Base Definitions volume of POSIX.1\(hy2017,
  55. .IR "\fB<ctype.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 .