12-15-2004
U probably have to try start using "system" call.
For example, following excecutes ls command.
system( "ls ");
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
HI,
Iam jus tin a confusion that solaris and unix are the same.if they are diffrent,how they are?pls give me a brief idea abt these two.
I will be very grateful to you
thanks (1 Reply)
Discussion started by: shruti_mgp
1 Replies
2. UNIX for Advanced & Expert Users
Hi,
I am trying to attach tape drive to sun V890 running Solaris 9 on it.
I have installed HBA(qlogic) in slot 1 of 0-8 slots and booted the system. I do not see HBAin prtdiag output. The tape drive is not attached to HBA. The tape drive I am going to attach is Sony AIT3.
1.How can I make... (3 Replies)
Discussion started by: sriny
3 Replies
3. Shell Programming and Scripting
Guys
I have the file TEST.csv generated after a join of two different files with the same columns:
key,string,data,number,key,string,data,number
abc,test,020202,3,abc,test,010305,4
abc,level,070202,9,abc,tool,010203,7
def,tool,010101,7,,,,
ghi,,,ghi,test,010203,8
I have to generate a... (2 Replies)
Discussion started by: Rafael.Buria
2 Replies
4. UNIX for Dummies Questions & Answers
I am using a oracle query from unix..
flag=`sqlplus -s <<EOF
SELECT 'Y' FROM table_name
WHERE cond1 = '${table_name}'
AND DECODE('${var_a}','''NA''',own,'${var_b0}')= own
exception
when no_data_found then
dbms_output.put_line(NVL(l_owner_flag,'X'));
end;
EOF`
Its not validating the... (7 Replies)
Discussion started by: sivakumar.rj
7 Replies
5. UNIX for Dummies Questions & Answers
How would i create virtual interface in linux to configure more than one IP address for a physical interface?
any help wll be appreciated. (1 Reply)
Discussion started by: salil2012
1 Replies
6. Shell Programming and Scripting
Hi,
I have a file with multiple entries and I have calculated the percentages. Now I want to know how many of my entries are there between 1-10% 11-20% and so on..
chr1_14401_14450 0.211954217888936
chr1_14451_14500 1.90758796100042
chr1_14501_14550 4.02713013988978... (1 Reply)
Discussion started by: Diya123
1 Replies
7. Shell Programming and Scripting
Hi friends,
I am new to UNIX.
I going to transfer files using SFTP. I am writing a script and using mget .
If i am using mget * means,
if all the files and their sub directories are transferred or not?
If suppose , the local system dose not have the sub directory then what will... (1 Reply)
Discussion started by: punitha
1 Replies
8. Ubuntu
hi ,, i am new for this.. i want to know abt linux os.. which version is best for it industry.. please suggest me..:cool: (1 Reply)
Discussion started by: c vignesh kumar
1 Replies
9. Shell Programming and Scripting
I am trying to write a shell script which takes an input file as an arguement in the terminal e.g. bash shellscriptname.sh input.txt. I would like for the file to be read line by line each time checking if the .txt file contains certain words or letters(validating the syntax). If the line being... (1 Reply)
Discussion started by: Gurdza32
1 Replies
LEARN ABOUT FREEBSD
i386_set_ioperm
I386_GET_IOPERM(2) BSD System Calls Manual I386_GET_IOPERM(2)
NAME
i386_get_ioperm, i386_set_ioperm -- manage per-process access to the i386 I/O port space
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <machine/sysarch.h>
int
i386_get_ioperm(unsigned int start, unsigned int *length, int *enable);
int
i386_set_ioperm(unsigned int start, unsigned int length, int enable);
DESCRIPTION
The i386_get_ioperm() system call will return the permission for the process' I/O port space in the *enable argument. The port range starts
at start and the number of contiguous entries will be returned in *length.
The i386_set_ioperm() system call will set access to a range of I/O ports described by the start and length arguments to the state specified
by the enable argument.
RETURN VALUES
Upon successful completion, the value 0 is returned; otherwise the value -1 is returned and the global variable errno is set to indicate the
error.
ERRORS
The i386_get_ioperm() and i386_set_ioperm() system calls will fail if:
[EINVAL] An invalid range was specified by the start or length arguments.
[EPERM] The caller of i386_set_ioperm was not the superuser.
SEE ALSO
io(4)
AUTHORS
This man page was written by Jonathan Lemon.
BSD
July 27, 1998 BSD