tclUnixFile.c File Reference#include "tclInt.h"
#include "tclFileSystem.h"
Go to the source code of this file.
|
Functions |
void | TclpFindExecutable (CONST char *argv0) |
int | TclpMatchInDirectory (Tcl_Interp *interp, Tcl_Obj *resultPtr, Tcl_Obj *pathPtr, CONST char *pattern, Tcl_GlobTypeData *types) |
char * | TclpGetUserHome (CONST char *name, Tcl_DString *bufferPtr) |
int | TclpObjAccess (Tcl_Obj *pathPtr, int mode) |
int | TclpObjChdir (Tcl_Obj *pathPtr) |
int | TclpObjLstat (Tcl_Obj *pathPtr, Tcl_StatBuf *bufPtr) |
ClientData | TclpGetNativeCwd (ClientData clientData) |
CONST char * | TclpGetCwd (Tcl_Interp *interp, Tcl_DString *bufferPtr) |
char * | TclpReadlink (CONST char *path, Tcl_DString *linkPtr) |
int | TclpObjStat (Tcl_Obj *pathPtr, Tcl_StatBuf *bufPtr) |
Tcl_Obj * | TclpFilesystemPathType (Tcl_Obj *pathPtr) |
Tcl_Obj * | TclpNativeToNormalized (ClientData clientData) |
ClientData | TclNativeCreateNativeRep (Tcl_Obj *pathPtr) |
ClientData | TclNativeDupInternalRep (ClientData clientData) |
int | TclpUtime (Tcl_Obj *pathPtr, struct utimbuf *tval) |
Function Documentation
ClientData TclNativeCreateNativeRep |
( |
Tcl_Obj * |
pathPtr |
) |
|
Definition at line 1066 of file tclUnixFile.c.
References ckalloc, Tcl_DecrRefCount, Tcl_DStringFree(), Tcl_DStringLength, Tcl_DStringValue, Tcl_FSGetNormalizedPath(), Tcl_FSGetTranslatedPath(), Tcl_GetStringFromObj(), Tcl_IncrRefCount, Tcl_UtfToExternalDString(), and TclFSCwdIsNative().
ClientData TclNativeDupInternalRep |
( |
ClientData |
clientData |
) |
|
void TclpFindExecutable |
( |
CONST char * |
argv0 |
) |
|
Definition at line 39 of file tclUnixFile.c.
References CONST, S_ISREG, Tcl_DStringAppend(), Tcl_DStringFree(), Tcl_DStringInit(), Tcl_DStringLength, Tcl_DStringSetLength(), Tcl_DStringValue, Tcl_ExternalToUtfDString(), Tcl_GetEncoding(), Tcl_NewObj(), Tcl_NewStringObj(), Tcl_UtfToExternalDString(), TclOSstat, TclpGetCwd(), TclSetObjNameOfExecutable(), UCHAR, and X_OK.
Referenced by Tcl_FindExecutable().
ClientData TclpGetNativeCwd |
( |
ClientData |
clientData |
) |
|
char* TclpGetUserHome |
( |
CONST char * |
name, |
|
|
Tcl_DString * |
bufferPtr | |
|
) |
| | |
Definition at line 201 of file tclUnixFile.c.
References CONST, S_ISDIR, Tcl_AppendResult(), Tcl_DecrRefCount, Tcl_DStringAppend(), Tcl_DStringFree(), Tcl_DStringInit(), Tcl_DStringLength, Tcl_DStringSetLength(), Tcl_DStringValue, TCL_ERROR, Tcl_ExternalToUtfDString(), Tcl_FSGetNativePath(), Tcl_FSGetTranslatedPath(), Tcl_GetStringFromObj(), TCL_GLOB_PERM_HIDDEN, TCL_GLOB_TYPE_MOUNT, Tcl_ListObjAppendElement(), TCL_OK, TCL_PATH_TAIL, Tcl_PosixError(), Tcl_ResetResult(), Tcl_StringCaseMatch(), Tcl_UtfToExternalDString(), TclNewFSPathObj(), TclOSreaddir, TclOSstat, and TclPathPart().
Tcl_Obj* TclpNativeToNormalized |
( |
ClientData |
clientData |
) |
|
int TclpObjAccess |
( |
Tcl_Obj * |
pathPtr, |
|
|
int |
mode | |
|
) |
| | |
int TclpObjChdir |
( |
Tcl_Obj * |
pathPtr |
) |
|
char* TclpReadlink |
( |
CONST char * |
path, |
|
|
Tcl_DString * |
linkPtr | |
|
) |
| | |
int TclpUtime |
( |
Tcl_Obj * |
pathPtr, |
|
|
struct utimbuf * |
tval | |
|
) |
| | |
Generated on Wed Mar 12 12:18:37 2008 by
1.5.1
|