summaryrefslogtreecommitdiff
path: root/sys/man
diff options
context:
space:
mode:
authoraiju <devnull@localhost>2016-08-25 23:39:07 +0200
committeraiju <devnull@localhost>2016-08-25 23:39:07 +0200
commit1bd3ace9e70f3122d2dd2a5e091703c8a65170a3 (patch)
treef601ad21f58dcee3694fc91a0bcde5b0a7d4f55f /sys/man
parent81b1fc5a1268bca74e854ebe4850c0c1b8b69ff3 (diff)
document Bfn
Diffstat (limited to 'sys/man')
-rw-r--r--sys/man/1/src22
1 files changed, 21 insertions, 1 deletions
diff --git a/sys/man/1/src b/sys/man/1/src
index f6e22ce91..26e0f2c9b 100644
--- a/sys/man/1/src
+++ b/sys/man/1/src
@@ -1,6 +1,6 @@
.TH SRC 1
.SH NAME
-src \- find source code for executable
+src, Bfn \- find source code for executable
.SH SYNOPSIS
.B src
[
@@ -12,6 +12,9 @@ src \- find source code for executable
]
.I file
.B ...
+.PP
+.B Bfn
+.I fn
.SH DESCRIPTION
.I Src
examines the named
@@ -59,6 +62,19 @@ flag identifies a
other than
.B main
to locate.
+.PP
+.I Bfn
+finds the definition of all C functions named
+.I fn
+by searching the
+.B .c
+files in the current directory.
+It prints the file name and line number of each match found and submits the match to the
+.IR plumber (4)
+if it is unique.
+.I Fn
+can be a
+.IR regexp (6).
.SH EXAMPLES
Find the source to the
.B main
@@ -81,3 +97,7 @@ src -s strcmp rc
.IR db (1),
.IR plumb (1),
.IR sam (1).
+.SH BUGS
+.I Bfn
+requires the source code to follow
+.IR style (6).