Search Results

Search: Posts Made By: newhere
Forum: Programming 03-07-2009
8,942
Posted By newhere
Hi, You were right. I did not notice it...
Hi,

You were right. I did not notice it earlier, but when I checked the manpage for fcntl, the struct members were in different order in mac than in linux.

I wonder why they would do that...
Forum: Programming 03-06-2009
8,942
Posted By newhere
fcntl works in linux but not in mac os x
Hi,

Unless I am missing some serious differences in Mac and linux in terms of C programming, I dont know why this would happen. Please take a look at the following piece of code fragment:

...
Forum: Programming 01-20-2009
10,200
Posted By newhere
Ok I did that. It just segfaluted..no core was...
Ok I did that. It just segfaluted..no core was dumped. And when tried bt it just said "No stack".

Am I doing something wrong?

Thanks.
Forum: Programming 01-20-2009
10,200
Posted By newhere
Hi, Um..I am relatively new to programming...
Hi,

Um..I am relatively new to programming in linux, how do I get a stack trace?

Sorry.
Forum: Programming 01-19-2009
10,200
Posted By newhere
Hi, Thats interesting. But it segfaults for...
Hi,

Thats interesting. But it segfaults for me, when it calls to strlen.

Thanks.
Forum: Programming 01-18-2009
10,200
Posted By newhere
Hi, Thanks for your comments. The index...
Hi,

Thanks for your comments. The index problem is actually not a problem because this function is part of a program I am writing and I know that whatever I need will start from index 1 (because I...
Forum: Programming 01-18-2009
10,200
Posted By newhere
Hi, So I figured out how to do it. In case,...
Hi,

So I figured out how to do it. In case, anybody else are looking for the same thing, I am posting my version here:


/* ...
Forum: Programming 01-17-2009
10,200
Posted By newhere
Concatenating array of strings into one string separated by spaces
Hi,

Well as the title says, I have an array of strings (delimited by null). The length of the array is variable and length of each string is variable as well. What I need is one huge string with...
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 03:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy