File:  [Research Unix] / researchv10no / lbin / mailx / lpaths.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:35 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Norman

#ident "@(#)lpaths.c	1.3 'attmail mail(1) command'"
#ident	"@(#)mailx:lpaths.c	1.4.1.1"
/*	Copyright (c) 1984 AT&T	*/
/*	  All Rights Reserved  	*/

/*	THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T	*/
/*	The copyright notice above does not evidence any   	*/
/*	actual or intended publication of such source code.	*/

#ident	"@(#)mailx:lpaths.c	1.4"

/*
 * mailx -- a modified version of a University of California at Berkeley
 *	mail program
 */

/*
 *	libpath(file) - return the full path to the library file
 *	If POST is defined in the environment, use that.
 */

#include <stdio.h>
#include "uparm.h"
#ifndef preSVr4
# include <stdlib.h>
#else
extern char	*getenv();
#endif

char *
libpath(file)
char	*file;
{
	static char	buf[500];
	sprintf(buf, "%s/%s", LIBPATH, file);
	return buf;
}

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.