code: 9ferno

ref: a1b177116747ff22cceea2121bf40da526ba60c3
dir: /module/names.m/

View raw version
Names: module
{
	PATH:	con "/dis/lib/names.dis";

	cleanname:	fn(name: string): string;
	dirname:	fn(name: string): string;
	basename:	fn(name: string, suffix: string): string;
	elements:	fn(name: string): list of string;
	isprefix:	fn(a: string, b: string): int;
	pathname:	fn(els: list of string): string;
	rooted:	fn(root: string, name: string): string;
	relative:	fn(name: string, root: string): string;
	absolute:	fn(p: string): int;
	searchname:	fn(progname: string): string;
};