pike.git / src / opcodes.c

version» Context lines:

pike.git/src/opcodes.c:19:   #include "pike_types.h"   #include "pike_memory.h"   #include "fd_control.h"   #include "cyclic.h"   #include "builtin_functions.h"   #include "module_support.h"   #include "security.h"   #include "bignum.h"   #include "operators.h"    - RCSID("$Id: opcodes.c,v 1.97 2001/01/15 22:14:19 grubba Exp $"); + RCSID("$Id: opcodes.c,v 1.98 2001/01/31 15:11:28 grubba Exp $");      void index_no_free(struct svalue *to,struct svalue *what,struct svalue *ind)   {    INT32 i;      #ifdef PIKE_SECURITY    if(what->type <= MAX_COMPLEX)    if(!CHECK_DATA_SECURITY(what->u.array, SECURITY_BIT_INDEX))    Pike_error("Index permission denied.\n");   #endif
pike.git/src/opcodes.c:1730: Inside #if defined(PIKE_DEBUG)
   set_nonblocking(2,0);       fprintf(stderr,"- Matches: %ld\n",(long)i);    if(nonblock)    set_nonblocking(2,1);    }   #endif    push_int(i);   }    + /*! @decl array array_sscanf(string data, string format) +  *! +  *! This function works just like @[sscanf()], but returns the matched +  *! results in an array instead of assigning them to lvalues. This is often +  *! useful for user-defined sscanf strings. +  *! +  *! @seealso +  *! @[sscanf()], @[`/()] +  */   PMOD_EXPORT void f_sscanf(INT32 args)   {   #ifdef PIKE_DEBUG    extern int t_flag;   #endif    INT32 e,i;    int x;    ptrdiff_t matched_chars;    struct svalue *save_sp=sp;    struct array *a;