Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/regex catch up with regsub -> regnsub
details: https://anonhg.NetBSD.org/src/rev/4c7361a9288b
branches: trunk
changeset: 342942:4c7361a9288b
user: christos <christos%NetBSD.org@localhost>
date: Thu Jan 14 22:06:42 2016 +0000
description:
catch up with regsub -> regnsub
diffstat:
lib/libc/regex/regex.3 | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (54 lines):
diff -r cb97d378dfc4 -r 4c7361a9288b lib/libc/regex/regex.3
--- a/lib/libc/regex/regex.3 Thu Jan 14 21:46:10 2016 +0000
+++ b/lib/libc/regex/regex.3 Thu Jan 14 22:06:42 2016 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: regex.3,v 1.23 2016/01/14 20:41:47 christos Exp $
+.\" $NetBSD: regex.3,v 1.24 2016/01/14 22:06:42 christos Exp $
.\"
.\" Copyright (c) 1992, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -75,7 +75,7 @@
.Nm regerror ,
.Nm regfree ,
.Nm regasub ,
-.Nm regsub
+.Nm regnsub
.Nd regular-expression library
.Sh LIBRARY
.Lb libc
@@ -90,7 +90,7 @@
.Ft void
.Fn regfree "regex_t *preg"
.Ft ssize_t
-.Fn regsub "char *buf" "size_t bufsiz" "const char *sub" "const regmatch_t *rm" "const char *str"
+.Fn regnsub "char *buf" "size_t bufsiz" "const char *sub" "const regmatch_t *rm" "const char *str"
.Ft ssize_t
.Fn regasub "char **buf" "const char *sub" "const regmatch_t *rm" "const char *sstr"
.Sh DESCRIPTION
@@ -474,7 +474,7 @@
all are safe for use from multiple threads if the arguments are safe.
.Pp
The
-.Fn regsub
+.Fn regnsub
and
.Fn regasub
functions perform substitutions using
@@ -489,7 +489,7 @@
is being placed in
.Fa buf
which is user-supplied in
-.Fn regsub
+.Fn regnsub
and dynamically allocated in
.Fn regasub .
The
@@ -624,7 +624,7 @@
distribution.
.Pp
The
-.Fn regsub
+.Fn regnsub
and
.Fn regasub
functions appeared in
Home |
Main Index |
Thread Index |
Old Index