Back to index

courier  0.68.2
cgiextrapath.c
Go to the documentation of this file.
00001 /*
00002 ** Copyright 2007 Double Precision, Inc.
00003 ** See COPYING for distribution information.
00004 */
00005 
00006 /*
00007 */
00008 #include      "cgi.h"
00009 #include <stdlib.h>
00010 #include <unistd.h>
00011 #if    HAVE_UNISTD_H
00012 #include      <unistd.h>
00013 #endif
00014 
00015 const char *cgiextrapath()
00016 {
00017        const char *pi=getenv("PATH_INFO");
00018 
00019        if (!pi) pi="";
00020        return pi;
00021 }