"//" in pathnames---standard? & why?

Kevin Kells kells at iis.UUCP
Tue Mar 27 12:47:45 AEST 1990


I've noticed---in particular in some InterViews #include files---that
files are sometimes specified with absolute pathnames that begin with
two slashes instead of one.

Example:
	#include "//usr/include/sys/time.h"

Is it standard to use two slashes "//" instead of one slash "/" in
absolute pathnames to represent the root directory?

What is the reason that people (or programs) use this style?

Thanks,

Kevin

-- 
Kevin D. Kells              Real-mail: Institut fuer Integrierte Systeme
uucp: kells at iis.UUCP                   ETH-Zentrum
Internet: kells at iis.ethz.ch            CH-8092 Zuerich    Phone
alternate: kdk at prism.gatech.edu        Switzerland        +41-1-256-5746



More information about the Comp.unix.questions mailing list