Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cd(1)

CHDIR(2)  —  UNIX Programmer’s Manual

NAME

chdir − change current working directory

SYNOPSIS

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

cd(1)

DIAGNOSTICS

Zero is returned if the directory is changed; −1 is returned if the given name is not that of a directory or is not searchable by the user. 

7th Edition

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