cwd
struct vnode *cwd;
Address cwd; // current working dir of the mount() caller
char cwd[B_PATH_NAME_LENGTH];
if (!getcwd(cwd, sizeof(cwd)))
error = allocator.AllocateString(request->cwd, cwd);
ADD_NON_NULL_STRING(cwd);
if (const char* cwd = (const char*)request->cwd.GetData()) {
int32 cwdLen = strlen(cwd);
strcpy(stackDevice, cwd);
char cwd[B_PATH_NAME_LENGTH];
getcwd(cwd, sizeof(cwd));
path.SetTo(cwd, argv[i]);
free(fHttpdServer->cwd);
fHttpdServer->cwd = tmp;
log << hc->hs->cwd;
log << hc->hs->cwd;
size_t cwdLen = strlen(fHttpdServer->cwd);
if (fHttpdServer->cwd[cwdLen-1] == '/') {
fHttpdServer->cwd[cwdLen-1] = '\0';
if (chdir(fHttpdServer->cwd) == -1) {
if ( hs->cwd != (char*) 0 )
free( (void*) hs->cwd );
char* p3p, int max_age, char* cwd, int no_log, FILE* logfp,
hc->expnfilename, hc->hs->cwd, strlen( hc->hs->cwd ) ) == 0 )
hc->expnfilename, &hc->expnfilename[strlen( hc->hs->cwd )] );
hc->hs->cwd,
hs->cwd = strdup( cwd );
if ( hs->cwd == (char*) 0 )
char* p3p, int max_age, char* cwd, int no_log, FILE* logfp,
char* cwd;
const char* cwd;
|| CurrentMessage()->FindString("cwd", &cwd) != B_OK)
cwd = "";
path.SetTo(cwd);
const char* cwd = "";
if (message->FindString("cwd", &cwd) != B_OK)
cwd = "";
path.SetTo(cwd, argv[i]);
const char* cwd);
void cwd(char *);
cwd(homedir);
cwd($4);
cwd("..");
char *cwd = getcwd(tmpPath, B_PATH_NAME_LENGTH);
if (!cwd)
dirFD = _kern_open_dir(-1, cwd);
char cwd[B_PATH_NAME_LENGTH];
if (getcwd(cwd, B_PATH_NAME_LENGTH))
message.AddString("cwd", cwd);
char cwd[B_PATH_NAME_LENGTH];
if (getcwd(cwd, B_PATH_NAME_LENGTH) != NULL)
message.AddString("cwd", cwd);
char* cwd = getcwd(tmpPath, B_PATH_NAME_LENGTH);
if (!cwd)
dirFD = _kern_open_dir(AT_FDCWD, cwd);
replace_vnode_if_disconnected(mount, vnodeToDisconnect, context->cwd,
start = context->cwd;
kprintf(" cwd vnode:\t%p\n", context->cwd);
set_debug_variable("_cwd", (addr_t)context->cwd);
if (context->cwd)
put_vnode(context->cwd);
if (context->cwd == NULL)
*_mountID = context->cwd->device;
*_vnodeID = context->cwd->id;
context->cwd = parentContext->cwd;
if (context->cwd != NULL)
inc_vnode_ref_count(context->cwd);
context->cwd = sRoot;
if (context->cwd)
inc_vnode_ref_count(context->cwd);
struct vnode* vnode = context->cwd;
oldDirectory = context->cwd;
context->cwd = vnode.Detach();
vfs_vnode_to_node_ref(ioContext->cwd, &cwdDevice, &cwdDirectory);
char cwd[B_FILE_NAME_LENGTH];
getcwd(cwd, B_FILE_NAME_LENGTH);
BString addonName(cwd);
start = context->cwd;
if (context->cwd != NULL) {
*_mountID = context->cwd->device;
*_vnodeID = context->cwd->id;
context->cwd = parentContext->cwd;
if (context->cwd)
inc_vnode_ref_count(context->cwd);
context->cwd = sRoot;
if (context->cwd)
inc_vnode_ref_count(context->cwd);
if (context->cwd)
dec_vnode_ref_count(context->cwd, false);
if (context->cwd)
status = dir_vnode_to_path(context->cwd, buffer, size);
oldDirectory = context->cwd;
context->cwd = vnode;
struct vnode *cwd;