/**************************************************************************** ** ** This file is part of GAP, a system for computational discrete algebra. ** ** Copyright of GAP belongs to its developers, whose names are too numerous ** to list here. Please refer to the COPYRIGHT file for details. ** ** SPDX-License-Identifier: GPL-2.0-or-later **
*/
#ifndef GAP_SYSROOTS_H #define GAP_SYSROOTS_H
#include"common.h" #include"system.h"
/**************************************************************************** ** *V SyDefaultRootPath ** ** Default initial root path. Default is the current directory, if we have ** no other idea, for backwards compatibility.
*/ externchar SyDefaultRootPath[GAP_PATH_MAX];
#include <stddef.h>
/**************************************************************************** ** *F SySetGapRootPath( <string> ) . . . . . . . . . set the root directories ** ** 'SySetGapRootPath' takes a string and modifies a list of root directories ** in 'SyGapRootPaths'. ** ** A leading semicolon in <string> means that the list of directories in ** <string> is appended to the existing list of root paths. A trailing ** semicolon means they are prepended. If there is no leading or trailing ** semicolon, then the root paths are overwritten.
*/ void SySetGapRootPath(constChar * string);
/**************************************************************************** ** *F SyFindGapRootFile( <filename>, <buf>, <size> ) . find file in system area ** ** <buf> must point to a buffer of at least <size> characters. This function ** then searches for a readable file with the name <filename> in the system ** area. If sich a file is found then its absolute path is copied into ** <buf>, and <buf> is returned. If no file is found or if <buf> is not big ** enough, then <buf> is set to an empty string and NULL is returned.
*/ Char * SyFindGapRootFile(constChar * filename, Char * buf, size_t size);
/**************************************************************************** ** *F SyGetGapRootPaths() . . . . . . . . . return the list of root directories ** ** Returns a plain list containing absolute paths of the root directories as ** string objects.
*/
Obj SyGetGapRootPaths(void);
#endif// GAP_SYSROOTS_H
¤ Dauer der Verarbeitung: 0.25 Sekunden
(vorverarbeitet)
¤
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 ist noch experimentell.