01-27-2010
C++ exceptions remain C++.
Being compiled under Visual Studio 2005 would mean using the Visual Studio headers and not the glibc ones, would it not?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is there an environment variable or other mechanism whereby I can get the system headers path? Preferrably I would like to be able to gather this information independant of the flavor of Unix. Thanks, Scott. (1 Reply)
Discussion started by: scottr
1 Replies
2. Shell Programming and Scripting
Hi all. Here's what i want to do:
my_first_file
#!/usr/bin/ksh
# BLA BLA BLA BLA
printf "this is my first file \n"
echo " I understand this far"
printf "the day's over \n"
echo "great"
my_second_file
#!/usr/bin/ksh
# BLA BLA BLA BLA
printf "this is my first file \n"
AN_INSERTED_LINE... (2 Replies)
Discussion started by: penguin-friend
2 Replies
3. Shell Programming and Scripting
hey guys,
i'm having some problems with my understanding of this whole regexp thing.
I'm just exploring here really by trying to do various match & filter & print stuff on the console.
I figured i want to get the IP of an interface. So my idea here was that first i filter to extract only... (4 Replies)
Discussion started by: jad
4 Replies
4. Shell Programming and Scripting
Hi,
I'm trying to strip all lines between two headers in a file:
### BEGIN ###
Text to remove, contains all kinds of characters
...
Antispyware-Downloadserver.com (Germany)=http://www.antispyware-downloadserver.c
om/updates/
Antispyware-Downloadserver.com #2... (3 Replies)
Discussion started by: Trones
3 Replies
5. Shell Programming and Scripting
I am just learning over here unix scripting and the OS in general.
I wrote this script (with some great help from you guys here) when I test at my desktop with cygwin it works fine, but when I take it to work and try it on the Solaris 2 system there I get an error on line 4 syntax error... (4 Replies)
Discussion started by: Fred Goldman
4 Replies
6. IP Networking
This is the output that I get every so often when trying to do a traceroute to the web server whenever it's inaccessible:
traceroute to 64.40.98.181 (64.40.98.181), 30 hops max, 40 byte packets
1 207.97.207.194 (207.97.207.194) 2.625 ms 2.840 ms 2.968 ms
2 core1-5.iad1.rackspace.com... (6 Replies)
Discussion started by: gaspol
6 Replies
7. Shell Programming and Scripting
Hi ,
I have a typical situation. I have 4 files and with different headers (number of headers is varible ).
I need to make such a merged file which will have headers combined from all files (comman coluns should appear once only).
For example -
File 1
H1|H2|H3|H4
11|12|13|14
21|22|23|23... (1 Reply)
Discussion started by: marut_ashu
1 Replies
8. UNIX for Dummies Questions & Answers
I have a file, the long listing output by 'ls -l' is
-rw-r--r-- 1 usera agroup 1246 Jul 7 14:44 temp.R
The file is under a Solaris ZFS file system. As a different user (userb), I did
cp temp.R /tmp
ls -l /tmp/temp.R
-rw-r--r-- 1 userb agroup 1246 Nov 16 14:45 /tmp/temp.R
... (14 Replies)
Discussion started by: nugulus
14 Replies
9. UNIX for Dummies Questions & Answers
How do we append the file name to fasta file headers in multiple fasta-files in Linux? (10 Replies)
Discussion started by: Mauve
10 Replies
10. Windows & DOS: Issues & Discussions
Hi All,
I wanted to run a small socket application written in C on windows.
The code was written for GNU/linux..the compiler on windows CodeBlocks complains about the sys headers.
is there an equivalent for windows ? (4 Replies)
Discussion started by: coolatt
4 Replies
OUTB(2) Linux Programmer's Manual OUTB(2)
NAME
outb, outw, outl, outsb, outsw, outsl, inb, inw, inl, insb, insw, insl, outb_p, outw_p, outl_p, inb_p, inw_p, inl_p - port I/O
DESCRIPTION
This family of functions is used to do low-level port input and output. The out* functions do port output, the in* functions do port
input; the b-suffix functions are byte-width and the w-suffix functions word-width; the _p-suffix functions pause until the I/O completes.
They are primarily designed for internal kernel use, but can be used from user space.
You compile with -O or -O2 or similar. The functions are defined as inline macros, and will not be substituted in without optimization
enabled, causing unresolved references at link time.
You use ioperm(2) or alternatively iopl(2) to tell the kernel to allow the user space application to access the I/O ports in question.
Failure to do this will cause the application to receive a segmentation fault.
CONFORMING TO
outb() and friends are hardware-specific. The value argument is passed first and the port argument is passed second, which is the opposite
order from most DOS implementations.
SEE ALSO
ioperm(2), iopl(2)
COLOPHON
This page is part of release 3.27 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
Linux 1995-11-29 OUTB(2)