Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ fdcwd(7) — Pixar HSI 1.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fd2picio(1)

fdcat(1)

fdgt(1)

fdgtinfo(1)

fdls(1)

fdmkdir(1)

fdrm(1)

fdsv(1)

picio2fd(1)

libfd(3H)

FDCWD(7)  —  Pixar Programmer’s Manual

NAME

FDCWD− fast-disk current working directory environment variable

SYNOPSIS

setenv FDCWD pathname

DESCRIPTION

The FDCWD environment variable establishes the current working directory for programs referencing files on the Fast-Disk filesystem.  When a program calls a libfd subroutine such as fd_open(3H) with a relative pathname (one that does not begin with a "/"), libfd interprets that pathname as being relative to the current working directory specified in the FDCWD variable.  For example, the following commands

setenv FDCWD /abc

fdrm def

would remove the file /abc/def, whereas the command

fdrm /def

would remove the file /def, regardless of the setting of FDCWD.

If FDCWD is not present in the environment, the current working directory is assumed to be "/". 

SEE ALSO

fd2picio(1), fdcat(1), fdgt(1), fdgtinfo(1), fdls(1), fdmkdir(1), fdrm(1), fdsv(1), picio2fd(1), libfd(3H)

Pixar Fast-Disk Product Tutorial

Release β  —  Last change: 10/12/88

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