index
Section: C Library Functions (3)
Updated: 2025-09-21
Index
JM Home Page
roff page
名前
index, rindex - 文字列中の文字の位置を示す
ライブラリ
標準 C ライブラリ (libc,~-lc)
書式
#include <strings.h>
[[deprecated]] char *index(const char *s, int c);
[[deprecated]] char *rindex(const char *s, int c);
説明
index() is identical to strchr(3).
rindex() is identical to strrchr(3).
Use strchr(3) and strrchr(3) instead of these functions.
標準規格
なし。
歴史
4.3BSD; marked as LEGACY in POSIX.1-2001. Removed in POSIX.1-2008,
recommending strchr(3) and strrchr(3) instead.
関連項目
strchr(3), strrchr(3)
Index
- 名前
-
- ライブラリ
-
- 書式
-
- 説明
-
- 標準規格
-
- 歴史
-
- 関連項目
-
This document was created by
man2html,
using the manual pages.