07-26-2002
Hassan2 - what is the OS and version?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All, I have bunch of different versions of generic tools (like gcc, gdb, ddd etc) and these tools are compiled for different platforms (linux, solaris...)
I would like to mount all these tools into some common place (like /nfs/tools/bin) and have the wrapper to pull the latest version of the... (2 Replies)
Discussion started by: cantgetname
2 Replies
2. UNIX for Dummies Questions & Answers
I tried searching the forum ,,but couldn't locate ..Can anyone give me a link or some information about wrapper script. (1 Reply)
Discussion started by: thana
1 Replies
3. UNIX for Dummies Questions & Answers
Hi everyone,
I have this custom sudo package over which I want to write a wrapper using PERL. The wrapper will do some pre-work and then call the regular sudo package from within itself. But I am facing a peculiar problem here.
Once invoked, I am able to do the pre-work from within the... (1 Reply)
Discussion started by: garric
1 Replies
4. Shell Programming and Scripting
Hello,
I have the below wrapper script:
#!/usr/bin/perl -w
if ($^O eq 'MSWin32' ) {
$subnet = 'c:\path\to\subnet.txt';
}
else {
$subnet = '/opt/qip/wrapper-del-sub';
}
open FH1, 'jj-deleted-subnets.txt' or die "Can't open 'jj-deleted-subnets.txt'
... (0 Replies)
Discussion started by: richsark
0 Replies
5. UNIX for Dummies Questions & Answers
My IRC client does not support SSL, so I was wondering if there was any other way to encrypt the information between SSL clients on an IRC network, maybe by using SSH to enter the IRC program or something (it's a command-line program) and passing all the plain-text through SSH first. I tried... (0 Replies)
Discussion started by: guitarscn
0 Replies
6. Shell Programming and Scripting
Hi,
I am in need of way to facilitate this senerio in a perl script.
I have CLI ( command line interface) which I run like so:
kip-tepltist -u Xxx -p Xxx
Which produces tones of names from each template it found:
194Iselin-NJ
33-IDFLB-North-611-Woodward-8600 ... (5 Replies)
Discussion started by: richsark
5 Replies
7. Shell Programming and Scripting
I have this a code that I got help with for another task. I since tried to modify it to work on this task.
I need someones expertise to modify it slightly and I am not sure where to start or yet fully understand the logic.
I am trying to get a script to read my m-names.txt which has lots... (19 Replies)
Discussion started by: richsark
19 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I am a dummy and hear to the computation guys telling me,
"Oh! that is easy, you just write a wrapper to do all that bunch of stuff!" :cool:
Could someone tell me what is a wrapper? :rolleyes: The only one I know is Cling-Wrap for sandwiches.
A small elegant example would be very... (1 Reply)
Discussion started by: genehunter
1 Replies
9. UNIX for Dummies Questions & Answers
Have an HP 1000 j110a on Slackware 13.0.
Is there a wrapper I could use with or without CUPS to allow me to print to this device? I am aware of HPLIP and HPIJS both of which are included in 13.37 release I will be ordering but need something until it is delivered. (0 Replies)
Discussion started by: slak0
0 Replies
10. Solaris
I have problem with oracle solaris 10 running on oracle sparc T4-2 server.
Os information: 5.10 Generic_150400-03 sun4v sparc sun4v
Output from tcpstat.d script
TCP bytes: out outRetrans in inDup inUnorder
6833763 7300 98884 0... (2 Replies)
Discussion started by: insatiable1610
2 Replies
LEARN ABOUT FREEBSD
elf_version
ELF_VERSION(3) BSD Library Functions Manual ELF_VERSION(3)
NAME
elf_version -- retrieve or set ELF library operating version
LIBRARY
ELF Access Library (libelf, -lelf)
SYNOPSIS
#include <libelf.h>
unsigned int
elf_version(unsigned int version);
DESCRIPTION
The elf_version() function is used to query the current operating version of the ELF library, and to inform the ELF library about the appli-
cation's desired operating version.
If the argument version is EV_NONE, the elf_version() function returns the currently configured operating version for the ELF library.
If the argument version is not EV_NONE, and if argument version is supported by the ELF library, function elf_version() sets the library's
operating version to version, and returns the previous value of the operating version. If argument version cannot be supported, then the
elf_version() function returns EV_NONE.
RETURN VALUES
The elf_version() function returns the currently configured ELF library version, or EV_NONE if an unsupported version is requested.
EXAMPLES
An application program would inform the ELF library about its desired operating version and check for an error using the following code snip-
pet:
if (elf_version(EV_CURRENT) == EV_NONE)
err(EXIT_FAILURE, "ELF library too old");
ERRORS
Function elf_version() may fail with the following error:
[ELF_E_VERSION] An unsupported library version number was requested.
SEE ALSO
elf(3), gelf(3)
BSD
November 9, 2011 BSD