GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SRC(1) FreeBSD General Commands Manual SRC(1)

src - find source code for executable

src [ -n ] [ -s symbol ] file ...

Src examines the named files to find the corresponding source code, which is then sent to the editor using B (see If file is an script, the source is the file itself. If file is an executable, the source is defined to be the single file containing the definition of main and src will point the editor at the line that begins the definition. Src uses to extract the symbol table information that identifies the source.

Src looks for each file in the current directory, in /bin, and in the subdirectories of /bin, in that order.

The -n flag causes src to print the file name but not send it to the editor. The -s flag identifies a symbol other than main to locate.

Find the source to the main routine in /bin/ed:
src ed
    

Find the source for strcmp:

src -s strcmp rc
    

/bin/src


Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.