pike.git
/
src
/
builtin.cmod
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/builtin.cmod:1:
/* -*- c -*-
-
* $Id: builtin.cmod,v 1.
26
2002/04/24
12
:
27
:
09
grubba Exp $
+
* $Id: builtin.cmod,v 1.
27
2002/04/24
15
:
45
:
11
grubba Exp $
*/ #include "global.h" #include "interpret.h" #include "svalue.h" #include "opcodes.h" #include "pike_macros.h" #include "object.h" #include "program.h" #include "array.h"
pike.git/src/builtin.cmod:19:
#include "pike_memory.h" #include "threads.h" #include <math.h> #include <ctype.h> #include "module_support.h" #include "cyclic.h" #include "bignum.h" #include "main.h" #include "operators.h" #include "builtin_functions.h"
-
#include "fd_control.h"
+
-
//! Raw set_close_on_exec().
-
//!
-
//! @seealso
-
//! @[Stdio.File()->set_close_on_exec()
-
PIKEFUN int set_close_on_exec(int fd, int which)
-
{
-
int retval = set_close_on_exec(fd, which);
-
RETURN retval;
-
}
+
//! Extract a column from a two-dimensional array. //! //! This function is exactly equivalent to: //! @code{map(@[data], lambda(mixed x,mixed y) { return x[y]; }, @[index])@} //! //! Except of course it is a lot shorter and faster. //! That is, it indices every index in the array data on the value of //! the argument index and returns an array with the results. //!