05-07-2008
Thanks for pointing this out
10 More Discussions You Might Find Interesting
1. Programming
hi,
I just started to work on unix,
I was wondering if it is possible to call a c++ function from a script.
now, i don't mean starting a program, i mean dynamicaly calling a funtion (like working with a dll)
thanks (3 Replies)
Discussion started by: Lebamb
3 Replies
2. Shell Programming and Scripting
Hi folks,
I'm just running through an oreilly korn shell book but have witnessed an output difference on my own unix machine and the output provided in the book. Can anyone help?
create a script called ascript as follows:
function afunc {
print in function $0: $1 $2
var1="in... (16 Replies)
Discussion started by: beckett
16 Replies
3. UNIX for Dummies Questions & Answers
i have a function defined in one ksh (ksh 1)
i want to use that function in another ksh (ksh 2)
i am using
. $<directoryname>/<ksh name>
i am calling the function defined in ksh 1 in ksh 2
i want the returnstatus from the above operation
but it is not executing the function
what i... (1 Reply)
Discussion started by: trichyselva
1 Replies
4. Shell Programming and Scripting
Hi,
I have searched the forum for the query, But i didnt find an exact answer.
I have a script(1.sh) and a c program(sample.c)
sample.c contains many function definitions.( run(), find(), add() etc).
I want to call functions in sample.c from 1.sh and use the return value in 1.sh... (3 Replies)
Discussion started by: jisha
3 Replies
5. Shell Programming and Scripting
Dear Sir/Madam,
I use the following way to call the oracle stored procedure in a perl script, but I do not know how to call a oracle function by the following way ?
# ARGV is the oracle stored procedure name with parameters
$str = "sqlplus -s <<-eof \n" .
"$db_login... (0 Replies)
Discussion started by: ili
0 Replies
6. Shell Programming and Scripting
This is my function which is creating three variables based on counter & writing these variable to database by calling another function writeRecord
but only one record is getting wrote in DB.... Please advise ASAP...:confused:
function InsertFtg
{
FTGSTR=""
echo "Saurabh is GREAT $#"
let... (2 Replies)
Discussion started by: omkar.sonawane
2 Replies
7. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
I must write a shell script that calls two external Perl functions--one of which sorts the data in a file, and... (6 Replies)
Discussion started by: kowit010
6 Replies
8. Shell Programming and Scripting
I have two variables. I need to call them using the same function
my $dat1 ="abc";
my $dat2 ="def";
my $check;
filecheck($dat1,$dat2);
sub filecheck($)
{
$check = shift;
print "first name is $check\n";
}
print "this is fine\n";
sub filecheck($)
{
$check = shift;
print "second... (2 Replies)
Discussion started by: irudayaraj
2 Replies
9. Shell Programming and Scripting
I would like to call functions from another bash script. How can I do it? Some code More code (11 Replies)
Discussion started by: kristinu
11 Replies
10. Shell Programming and Scripting
I have a function which does awk proceessing
sub mergeDescription {
system (q@awk -F'~' '
NR == FNR {
A = $1
B = $2
C = $0
next
}
{
n = split ( C, V, "~" )
if... (3 Replies)
Discussion started by: crypto87
3 Replies
LEARN ABOUT FREEBSD
atkbdc
ATKBDC(4) BSD Kernel Interfaces Manual ATKBDC(4)
NAME
atkbdc -- the AT keyboard controller interface
SYNOPSIS
options KBD_RESETDELAY=N
options KBD_MAXWAIT=N
options KBDIO_DEBUG=N
device atkbdc
In /boot/device.hints:
hint.atkbdc.0.at="isa"
hint.atkbdc.0.port="0x060"
DESCRIPTION
The keyboard controller atkbdc provides I/O services for the AT keyboard and PS/2 mouse style pointing devices. This controller is required
for the keyboard driver atkbd and the PS/2 pointing device driver psm.
There can be only one atkbdc device configured in the system.
DRIVER CONFIGURATION
Kernel Configuration Options
The following kernel configuration options can be used to control the atkbdc driver. They may be set in the kernel configuration file (see
config(8)).
KBD_RESETDELAY=X, KBD_MAXWAIT=Y
The keyboard driver atkbd and the pointing device driver psm may ask the atkbdc driver to reset these devices during the boot process.
It sometimes takes a long time before these devices respond to the reset command. These options control how long the atkbdc driver
should wait before eventually giving up -- the driver will wait X * Y msecs at most. If the drivers seem unable to detect devices,
you may want to increase these values. The default values are 200 msec for X and 5 for Y.
KBDIO_DEBUG=N
Sets the debug level to N. The default value is zero, which suppresses all debugging output.
SEE ALSO
atkbd(4), psm(4), config(8)
HISTORY
The atkbdc driver first appeared in FreeBSD 3.1. It is based on the kbdio module in FreeBSD 2.2.
AUTHORS
The kbdio module, the atkbdc driver and this manual page were written by Kazutaka Yokota <yokota@FreeBSD.org>.
BSD
February 9, 1999 BSD