I have tried few examples in the internet but all of them are different and none worked. I need to check if a file exists in a directory if it does not then exit . here is what I have for now
$filename ="/usr/local/net/var/lib/directoryservice/sync.disable"
if ;
then
echo "The file exists"... (2 Replies)
I am using Cent OS 5.1. It has a command "yum" to install or update new packeges from a mirror or repository.
i am doing installation and configuration of Sun directory server and opensso. i have made a shell script to install and configure both. but now the need is to create a Cent OS packege,... (1 Reply)
Hi,
Trying to install web logic 9.2 on Cent OS in the Graphical mode.
After accepting the license agreement the "Complete" installation is selected.The path for installing the components is mentioned and when clicked on "Next" it hangs and is not proceeding further.
Any suggestion or... (0 Replies)
Hi all,
I am trying to install UVFS 2.0.3 in redhat 5.4 64bit.. This is required by teamsite 6.7.1.. When I run gmake, it gives me error /usr/bin/gcc -g -O3 -Wall -I. -c -o uvfs_signal.o uvfs_signal.cc
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
gmake: * Error... (0 Replies)
Hello,
I am integration AD authentication to Cent OS 6 servers. I am running to this error when I tried to join with AD server.
error message :
# net ads join -U 504783
Host is not configured as a member server.
Invalid configuration. Exiting....
Failed to join domain: This... (0 Replies)
Can some one suggest me the way to disable " rm -rf * " or " rm -rf / " command execution permanently from the server. Any suggestion will be very much helpful . (18 Replies)
Hi ,
I have cent os 6.5 and am trying to make few routes permanent for bond:
i have added two routes using below two commands :
/sbin/route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.59.160.128
/sbin/route add -net 0.0.0.0 netmask 0.0.0.0 gw 49.44.52.90
post which route command output is... (5 Replies)
Discussion started by: omkar.jadhav
5 Replies
LEARN ABOUT DEBIAN
trampoline_r
TRAMPOLINE(3) Library Functions Manual TRAMPOLINE(3)NAME
trampoline - closures as first-class C functions
SYNOPSIS
#include <trampoline_r.h>
function = alloc_trampoline_r(address, data0, data1);
free_trampoline_r(function);
is_trampoline_r(function)
trampoline_r_address(function)
trampoline_r_data0(function)
trampoline_r_data1(function)
DESCRIPTION
These functions implement closures as first-class C functions. A closure consists of a regular C function and a piece of data which gets
passed to the C function when the closure is called.
Closures as first-class C functions means that they fit into a function pointer and can be called exactly like any other C function. func-
tion = alloc_trampoline_r(address, data0, data1) allocates a closure. When function gets called, it stores in a special "lexical chain reg-
ister" a pointer to a storage area containing data0 in its first word and data1 in its second word and calls the C function at address.
The function at address is responsible for fetching data0 and data1 off the pointer. Note that the "lexical chain register" is a call-used
register, i.e. is clobbered by function calls.
This is much like gcc's local functions, except that the GNU C local functions have dynamic extent (i.e. are deallocated when the creating
function returns), while trampoline provides functions with indefinite extent: function is only deallocated when free_trampoline_r(func-
tion) is called.
is_trampoline_r(function) checks whether the C function function was produced by a call to alloc_trampoline_r. If this returns true, the
arguments given to alloc_trampoline_r can be retrieved:
trampoline_r_address(function) returns address,
trampoline_r_data0(function) returns data0,
trampoline_r_data1(function) returns data1.
SEE ALSO trampoline(3), gcc(1), varargs(3)PORTING
The way gcc builds local functions is described in the gcc source, file gcc-2.6.3/config/cpu/cpu.h.
AUTHOR
Bruno Haible <bruno@clisp.org>
ACKNOWLEDGEMENTS
Many ideas were cribbed from the gcc source.
22 October 1997 TRAMPOLINE(3)