Up |
|
|
  |
Author: SashaSasha
Date: Aug 19, 2008 07:37
What's the entry point for executable and shared library on UNIX? I
mean analog to WinMainCRTStartup for executable on Windows? Is it
possible to overwrite entry point? Does linker have this option? I
assume this entry point besides other stuff contains calls to all
static instances constructors and destructors and actually calls main.
|
| |
|
| |
1 Comment |
|
  |
|
|
  |
Author: RyanMcCoskrieRyanMcCoskrie
Date: Aug 18, 2008 15:28
Having no mathematical skills or the required white brain cell*
activity to develop them
I have utterly failed to produce a tool that can convert small strings
into unsigned chars
of their binary equivalents.
For example a file containing (in ASCII):
1 1010
111 10
would become a file containing (as numeric values): 1 10 7 2
I've tried oktata and it required anding, oring and xoring everything
instead of straight
forward editing. It also suggested in the manual that that was the
traditional technique.
So what tools (if any are there) for editing a binary by just...
editing it rather
than doing a heap of maths on all but the correct byte?
|
| Show full article (0.90Kb) |
|
3 Comments |
|
  |
Author: VDRVDR
Date: Aug 18, 2008 01:22
Hi All,
I have to communicate a user program and a kernel module in two-way.
What are the methods available ?
What is the best method to implement?? Please help me.
Thanks and regards
VASU
|
| |
|
2 Comments |
|
  |
Author: qazmlp1209qazmlp1209
Date: Aug 17, 2008 23:22
We use named pipe, for the communication between two processes running
on the Solaris box. One process keeps pumping in huge amount of data,
and the other server process receives this data and performs further
processing.
As huge amount of data is sent over the named pipe, I'm just concerned
whether there will be a buffer limit problem(at sender & receiver
sides) due to that. Can anybody tell me how I can find out the
limitation by Solaris, and how exactly I can increase tune this limit?
|
| |
|
1 Comment |
|
  |
Author: thomas.mertesthomas.mertes
Date: Aug 17, 2008 13:45
Hello,
I have released a new version of Seed7: seed7_05_20080817.tgz
In the Seed7 programming language new statements and operators
can be declared easily. Types are first class objects and therefore
templates/generics need no special syntax. Object orientation is
used when it brings advantages and not in places when other
solutions are more obvious.
Seed7 is covered by the GPL (and LGPL for the Seed7 runtime library).
Changelog:
- The FAQ about static type checking was improved and an FAQ about
development speed and type checking was added.
- A chapter about the type 'category' was added to the manual.
- The chapters...
|
| Show full article (1.76Kb) |
|
no comments
|
|
  |
Author: lilylily
Date: Aug 17, 2008 11:10
adidas adicolor shoes PayPal
We export our brand shoes all over world because of our competitive
price, good quality products
and good service. All our products are guaranteed to be a minimum of
AAA+ quality. Our price and
good service are often appreciated by our customers. So we can get
repeat order to sustain our
development. Your support of our business is very thankful.
Dear friend
welcome to shopping on < www.silk on road.com>
1.5%% paypal handling charge supports the online payment!
2.Use your intergla replacement more good gift!
3.notes by email and website of deliver each package at first time.
|
| |
|
no comments
|
|
  |
Author: K-mart CashierK-mart Cashier
Date: Aug 17, 2008 09:24
Given the following:
#include /* for openpty and forkpty */
#include
#include
#include
#include
int main(void)
{
int master, blah;
char slave[200];
char line[BUFSIZ];
ssize_t n;
blah = forkpty(&master, slave, NULL, NULL);
if (dup2(master, STDIN_FILENO) == -1) {
perror("dup2()");
return -1;
}
printf("\n%%d\n", blah);
|
| Show full article (0.73Kb) |
|
14 Comments |
|
  |
Author: Mark HobleyMark Hobley
Date: Aug 16, 2008 03:19
I have a regular expression that is supposed to extract IP address
information from arbitrary strings. However, I am having difficulty in
implementing this in either a sed or grep expression. Both tools appear
to be giving me the entire string upon a match rather than just the
matched data.
I am using the following regular expression:
[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+
I try to obtain the data using grep as follows:
echo 'qwer(023)7964min@liverpool12.8ero&roir123.28.49.59(t95)@torprp' |
grep -o '[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+'
However, this produces no output.
Using sed, I get a full line:
echo 'qwer(023)7964min@liverpool12.8ero&roir123.28.49.59(t95)@torprp' |
sed '/[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+/p'
qwer(023)7964min@liverpool12.8ero&roir123.28.49.59(t95)@torprp
I just want the data that matches the expression:
qwer(023)7964min@liverpool12.8ero&roir123.28.49.59(t95)@torprp
------------
I just want this bit - |
|
| Show full article (1.13Kb) |
|
2 Comments |
|
  |
|
|
  |
Author: alexandrugalexandrug
Date: Aug 15, 2008 17:25
Greetings !
How do I configure OPEN_MAX, in Linux, such that at runtime my program
to have OPEN_MAX > 1024 ?
Thank you,
Alexandru.
|
| |
|
1 Comment |
|
|
|
|
|