Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
SHTK_FS_JOIN_PATHS(3)	    Library Functions Manual	 SHTK_FS_JOIN_PATHS(3)

NAME
       shtk_fs_join_paths -- Concatenates a series of path entries

LIBRARY
       shtk_import fs

SYNOPSIS
       shtk_fs_join_paths path1	[.. pathN]

DESCRIPTION
       The  shtk_fs_join_paths	function takes a collection of path components
       and concatenates	them, printing the result to stdout.

       The resulting path is normalized	according to the  rules	 described  in
       shtk_fs_normalize_path(3).

RETURN VALUES
       shtk_fs_join_paths returns 0.

EXAMPLES
	     shtk_fs_join_paths	foo//bar /baz/.	 # Prints ./foo/bar/baz
	     shtk_fs_join_paths	/bin ls	 # Prints /bin/ls

SEE ALSO
       shtk(3),	shtk_fs(3)

HISTORY
       shtk_fs_join_paths first	appeared in shtk 1.7.

FreeBSD	Ports 14.quarterly    September	18, 2016	 SHTK_FS_JOIN_PATHS(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=shtk_fs_join_paths&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help