Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ chdir(II) — UNIX 6th Edition 1.3.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

chdir (I)

CHDIR(II)  −  PWB/UNIX 8/5/73

NAME

chdir − change working directory

SYNOPSIS

(chdir = 12.) 
sys chdir; dirname chdir(dirname)
char *dirname;

DESCRIPTION

Dirname is the address of the pathname of a directory, terminated by a null byte.  Chdir causes this directory to become the current working directory. 

SEE ALSO

chdir (I)

DIAGNOSTICS

The error bit (c-bit) is set if the given name is not that of a directory or is not readable.  From C, a −1 returned value indicates an error, 0 indicates success. 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026