which.c File Reference

#include "common.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "machine.h"
#include "bu.h"

Include dependency graph for which.c:

Go to the source code of this file.

Functions

int bu_which (char *argv[], int lim, const char *cmd)


Detailed Description

Routine to provide BSD "which" functionality, locating binaries of specified programs from the user's PATH (i.e. not necessarily the system path). This is useful to locate system binaries and resources at run-time such as where the current binary is being executed from.

Author - Christopher Sean Morrison

Source - The U. S. Army Research Laboratory Aberdeen Proving Ground, Maryland 21005-5068 USA

Definition in file which.c.


Generated on Mon Sep 18 01:25:04 2006 for BRL-CAD by  doxygen 1.4.6