Annotation of researchv10no/lbin/mailx/lpaths.c, revision 1.1

1.1     ! root        1: #ident "@(#)lpaths.c   1.3 'attmail mail(1) command'"
        !             2: #ident "@(#)mailx:lpaths.c     1.4.1.1"
        !             3: /*     Copyright (c) 1984 AT&T */
        !             4: /*       All Rights Reserved   */
        !             5: 
        !             6: /*     THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T     */
        !             7: /*     The copyright notice above does not evidence any        */
        !             8: /*     actual or intended publication of such source code.     */
        !             9: 
        !            10: #ident "@(#)mailx:lpaths.c     1.4"
        !            11: 
        !            12: /*
        !            13:  * mailx -- a modified version of a University of California at Berkeley
        !            14:  *     mail program
        !            15:  */
        !            16: 
        !            17: /*
        !            18:  *     libpath(file) - return the full path to the library file
        !            19:  *     If POST is defined in the environment, use that.
        !            20:  */
        !            21: 
        !            22: #include <stdio.h>
        !            23: #include "uparm.h"
        !            24: #ifndef preSVr4
        !            25: # include <stdlib.h>
        !            26: #else
        !            27: extern char    *getenv();
        !            28: #endif
        !            29: 
        !            30: char *
        !            31: libpath(file)
        !            32: char   *file;
        !            33: {
        !            34:        static char     buf[500];
        !            35:        sprintf(buf, "%s/%s", LIBPATH, file);
        !            36:        return buf;
        !            37: }

unix.superglobalmegacorp.com

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