pike.git/
src/
builtin_functions.c
Branch:
Tag:
Non-build tags
All tags
No tags
2001-06-08
2001-06-08 11:06:02 by Henrik Grubbström (Grubba) <grubba@grubba.org>
9849a73f387019b0aa94e195d8819f95ea378003 (
14
lines) (+
12
/-
2
)
[
Show
|
Annotate
]
Branch:
7.9
Updated AutoDoc mk II markup for combine_path() et al.
Rev: src/builtin_functions.c:1.376
5:
\*/ /**/ #include "global.h"
-
RCSID("$Id: builtin_functions.c,v 1.
375
2001/06/08
00
:
36
:
00
hubbe
Exp $");
+
RCSID("$Id: builtin_functions.c,v 1.
376
2001/06/08
11
:
06
:
02
grubba
Exp $");
#include "interpret.h" #include "svalue.h" #include "pike_macros.h"
1111:
pop_n_elems(args); }
-
/*! @decl string combine_path(string absolute, string relative)
+
/*! @decl string combine_path(string absolute, string
...
relative)
+
*! @decl string combine_path_unix(string absolute, string ... relative)
+
*! @decl string combine_path_nt(string absolute, string ... relative)
*! *! Concatenate a relative path to an absolute path and remove any *! @tt{"//"@}, @tt{"/.."@} or @tt{"/."@} to produce a straightforward *! absolute path as result. *!
-
+
*! @[combine_path_nt()] concatenates according to NT-filesystem conventions,
+
*! while @[combine_path_unix()] concatenates according to UNIX-style.
+
*!
+
*! @[combine_path()] is equvivalent to @[combine_path_unix()] on UNIX-like
+
*! operating systems, and equvivalent to @[combine_path_nt()] on NT-like
+
*! operating systems.
+
*!
*! @seealso *! @[getcwd()], @[Stdio.append_path()] */