tclFileName.c File Reference#include "tclInt.h"
#include "tclRegexp.h"
#include "tclFileSystem.h"
Go to the source code of this file.
|
Functions |
Tcl_PathType | Tcl_GetPathType (const char *path) |
Tcl_PathType | TclpGetNativePathType (Tcl_Obj *pathPtr, int *driveNameLengthPtr, Tcl_Obj **driveNameRef) |
Tcl_Obj * | TclpNativeSplitPath (Tcl_Obj *pathPtr, int *lenPtr) |
void | Tcl_SplitPath (const char *path, int *argcPtr, const char ***argvPtr) |
Tcl_Obj * | Tcl_FSJoinToPath (Tcl_Obj *pathPtr, int objc, Tcl_Obj *const objv[]) |
void | TclpNativeJoinPath (Tcl_Obj *prefix, char *joining) |
char * | Tcl_JoinPath (int argc, const char *const *argv, Tcl_DString *resultPtr) |
char * | Tcl_TranslateFileName (Tcl_Interp *interp, const char *name, Tcl_DString *bufferPtr) |
const char * | TclGetExtension (const char *name) |
int | Tcl_GlobObjCmd (ClientData dummy, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]) |
int | TclGlob (Tcl_Interp *interp, char *pattern, Tcl_Obj *pathPrefix, int globFlags, Tcl_GlobTypeData *types) |
Tcl_StatBuf * | Tcl_AllocStatBuf (void) |
Variables |
TclPlatformType | tclPlatform = TCL_PLATFORM_UNIX |
Function Documentation
int Tcl_GlobObjCmd |
( |
ClientData |
dummy, |
|
|
Tcl_Interp * |
interp, |
|
|
int |
objc, |
|
|
Tcl_Obj *const |
objv[] | |
|
) |
| | |
Definition at line 1193 of file tclFileName.c.
References Tcl_GlobTypeData::macCreator, Tcl_GlobTypeData::macType, Tcl_GlobTypeData::perm, Tcl_AppendObjToObj(), Tcl_AppendResult(), Tcl_AppendToObj(), Tcl_DecrRefCount, Tcl_DStringAppend(), Tcl_DStringFree(), Tcl_DStringInit(), Tcl_DStringLength, Tcl_DStringValue, TCL_ERROR, Tcl_GetIndexFromObj(), Tcl_GetObjResult(), Tcl_GetString(), Tcl_GetStringFromObj(), TCL_GLOB_PERM_HIDDEN, TCL_GLOB_PERM_R, TCL_GLOB_PERM_RONLY, TCL_GLOB_PERM_W, TCL_GLOB_PERM_X, TCL_GLOB_TYPE_BLOCK, TCL_GLOB_TYPE_CHAR, TCL_GLOB_TYPE_DIR, TCL_GLOB_TYPE_FILE, TCL_GLOB_TYPE_LINK, TCL_GLOB_TYPE_PIPE, TCL_GLOB_TYPE_SOCK, TCL_GLOBMODE_DIR, TCL_GLOBMODE_NO_COMPLAIN, TCL_GLOBMODE_TAILS, Tcl_IncrRefCount, Tcl_ListObjIndex(), Tcl_ListObjLength(), Tcl_NewStringObj(), TCL_OK, TCL_PLATFORM_UNIX, TCL_PLATFORM_WINDOWS, Tcl_ResetResult(), Tcl_SetObjResult(), Tcl_WrongNumArgs(), TclGlob(), TclNewObj, tclPlatform, TclStackAlloc(), TclStackFree(), and Tcl_GlobTypeData::type.
char* Tcl_JoinPath |
( |
int |
argc, |
|
|
const char *const * |
argv, |
|
|
Tcl_DString * |
resultPtr | |
|
) |
| | |
void Tcl_SplitPath |
( |
const char * |
path, |
|
|
int * |
argcPtr, |
|
|
const char *** |
argvPtr | |
|
) |
| | |
const char* TclGetExtension |
( |
const char * |
name |
) |
|
Definition at line 1668 of file tclFileName.c.
References F_OK, Tcl_AppendToObj(), Tcl_DecrRefCount, Tcl_DStringAppend(), Tcl_DStringFree(), Tcl_DStringInit(), Tcl_DStringLength, Tcl_DStringValue, Tcl_DuplicateObj(), TCL_ERROR, Tcl_FSAccess(), Tcl_FSGetCwd(), Tcl_FSMatchInDirectory(), Tcl_GetObjResult(), Tcl_GetString(), Tcl_GetStringFromObj(), TCL_GLOBMODE_DIR, TCL_GLOBMODE_TAILS, Tcl_IncrRefCount, Tcl_IsShared, Tcl_ListObjAppendElement(), Tcl_ListObjAppendList(), Tcl_ListObjGetElements(), Tcl_ListObjReplace(), Tcl_NewStringObj(), TCL_OK, Tcl_Panic(), TCL_PATH_ABSOLUTE, TCL_PATH_RELATIVE, TCL_PATH_VOLUME_RELATIVE, TCL_PLATFORM_UNIX, TCL_PLATFORM_WINDOWS, Tcl_ResetResult(), Tcl_SetObjResult(), TclDecrRefCount, TclFSNonnativePathType(), TclGetPathType(), TclNewLiteralStringObj, TclNewObj, and tclPlatform.
Referenced by Tcl_GlobObjCmd().
Definition at line 374 of file tclFileName.c.
References Tcl_DStringFree(), Tcl_DStringInit(), Tcl_DStringLength, Tcl_DStringValue, Tcl_GetStringFromObj(), Tcl_IncrRefCount, Tcl_NewStringObj(), TCL_PATH_ABSOLUTE, TCL_PATH_RELATIVE, TCL_PLATFORM_UNIX, TCL_PLATFORM_WINDOWS, tclPlatform, and UCHAR.
Referenced by TclGetPathType().
void TclpNativeJoinPath |
( |
Tcl_Obj * |
prefix, |
|
|
char * |
joining | |
|
) |
| | |
Variable Documentation
Definition at line 25 of file tclFileName.c.
Referenced by Tcl_FileObjCmd(), Tcl_FSGetNormalizedPath(), Tcl_FSJoinPath(), Tcl_GlobObjCmd(), Tcl_TranslateFileName(), TclFSMakePathRelative(), TclFSNormalizeAbsolutePath(), TclGetExtension(), TclGetPlatform(), TclGlob(), TclPathPart(), TclpGetNativePathType(), TclpInitPlatform(), TclpNativeJoinPath(), and TclpNativeSplitPath().
Generated on Wed Mar 12 12:18:30 2008 by
1.5.1
|