code: 9ferno

ref: 0ee70192a6748cb9adf572ac584ca7dd417cf1ef
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;
};