path_prefix

ds2.1.1/lib/doc/sefun/path_prefix · 541 B

From the archive ds2.1.1.zip

Download the archive   « Back to the archive contents

PATH_PREFIX(1)                               CHECK_PRIVS(1)

NAME
       path_prefix() - A file's or directory's path without the last element.

SYNOPSIS
       string path_prefix(string filename)

DESCRIPTION
       If given a path, it returns a string with the last path element removed.

EXAMPLES
       path_prefix("/realms/cratylus/workroom.c") 
  
       would return "/realms/cratylus"


LOCATION
       /secure/sefun/strings.c

Author
       Cratylus @ Dead Souls

                                                                1

Site Stats

Snippets: 1791
Codebases: 571