YoushouldhavereceivedacopyoftheGNUGeneralPublicLicense alongwiththisprogram;ifnot,writetotheFreeSoftware
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA */
#include"mysys_priv.h" #include <m_string.h>
/* Finds where program can find it's files. pre_pathnameisfoundbyfirstlockingatprogname(argv[0]). ifprognamecontainspaththepathisreturned. elseifprognameisfoundinpath,returnit elseifprognameisgivenandPOSIXenvironmentvariable"_"isset thenpathistakenfrom"_". Iffilenamedoesn'tcontainapathappendMY_BASEDIR_VERSIONor MY_BASEDIRifdefined,elseappend"/my/running". own_path_name_partisconcatinatedtoresult.
my_path puts result in to and returns to */
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.