about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2023-03-20 15:18:53 +0100
committerLeah Neukirchen <leah@vuxu.org>2023-03-20 15:18:53 +0100
commitec01c6149dfc00dcf93a73ef829541a8b1a996a1 (patch)
tree780e06da8aa4f38e4db94403051e22a64a0312ec
parent0e13d09f89ecb0ce123c8368c8c1fa6f0aa6248d (diff)
downloadlibste-ec01c6149dfc00dcf93a73ef829541a8b1a996a1.tar.gz
libste-ec01c6149dfc00dcf93a73ef829541a8b1a996a1.tar.xz
libste-ec01c6149dfc00dcf93a73ef829541a8b1a996a1.zip
libste.3: typo
-rw-r--r--README2
-rw-r--r--libste.32
2 files changed, 2 insertions, 2 deletions
diff --git a/README b/README
index 79a04b8..333a6b0 100644
--- a/README
+++ b/README
@@ -33,7 +33,7 @@ DESCRIPTION
 
      stechr returns a pointer to the first occurence of c (converted to a
      char) in the NUL-terminated string pointed to by src, but reads no
-     characters beyond end.  If c is not found, stecpy returns a pointer to
+     characters beyond end.  If c is not found, stechr returns a pointer to
      the first NUL byte in src, or end if none was found.
 
      steprn uses vsnprintf(3) to write formatted output to dst, but writes no
diff --git a/libste.3 b/libste.3
index 0aadb70..c739a07 100644
--- a/libste.3
+++ b/libste.3
@@ -64,7 +64,7 @@ but reads no characters beyond
 If
 .Fa c
 is not found,
-.Nm
+.Nm stechr
 returns a pointer to the first NUL byte in
 .Fa src ,
 or