Search Results

Search: Posts Made By: naan
Forum: HP-UX 02-08-2012
13,694
Posted By naan
Its still creating as pipe after stopping syslog...
Its still creating as pipe after stopping syslog deamon. Should I change conf file?
Forum: HP-UX 01-31-2012
13,694
Posted By naan
/dev/log as socket
Hi,

How do I convet /dev/log from a pipe to a socket. As of now its is a pipe.

bash-4.0$ ls -l /dev/log
prw-rw-rw- 1 root sys 0 Jan 31 05:23 /dev/log


I need to have...
Forum: AIX 03-29-2011
4,429
Posted By naan
-bsymbolic vs -Bsymbolic
Hi,

Is there any difference between -bsymbolic and -Bsymbolic linker option in AIX?

Thanks
Forum: IP Networking 04-23-2010
2,605
Posted By naan
Networking
Hi,

I have a question on networking. I will try to ask with an example...

Suppose i am googling something, as in searching something in the google page. In this case what I basically want to...
Forum: IP Networking 04-20-2010
2,655
Posted By naan
Closing the socket
Hi,

I have a question on closing the listen socket in server. In the application I am working, the server is continously receiving requests from the client in its master socket to handle each...
Forum: Programming 07-27-2009
3,399
Posted By naan
Its in HP's tandem systems(Non Stop Platform). I...
Its in HP's tandem systems(Non Stop Platform). I was browsing thru some old C code where I saw the reference to pragma page before certain functions. Compiler is nmc compiler.
Forum: Programming 07-23-2009
3,399
Posted By naan
pragma page
Hi,

I have a question regarding pragma page. What is the advantage of using this pragma? Also the description tells that it is a compiler directive to start of in a new page. Does the page here...
Forum: Programming 06-01-2009
2,901
Posted By naan
make utility
Hi,

Could someone tell me why make utility is mostly preferred for compilation and generating executable in UNIX rather than any user created scripts which contains commands for compilation?
Forum: Red Hat 02-04-2009
3,544
Posted By naan
RPM package installation
Hi,

can someone help me with this?

How do we apply a new version of s/w package without disrupting the processes & daemons running with the old version?

Thanks
Forum: Programming 01-29-2009
5,569
Posted By naan
static variable storage
Hi,

Where are the static variables actually stored in memory. Is it in .bss? In that case how is its storage different from global variables? From the ELF data is it possible to see the storage of...
3,993
Posted By naan
rpm,pkg and debian installer
Hi,

Can someone explain what's the difference between rpm, pkg and debian installer and what is the advantage of one above the other?

Thanks
Forum: Programming 12-06-2008
4,402
Posted By naan
to compare two integer values stored in char pointers
How can I compare two integer values which is stored in char pointers?

suppose I have char *a and char *b having values 10 and 20. how can i find the shorter value?
Forum: Programming 09-03-2008
10,686
Posted By naan
I have a programming test where it is mandatory...
I have a programming test where it is mandatory that only dynamic allocation should be done for any file manipulations.
Forum: Programming 08-30-2008
10,686
Posted By naan
Yes, the length of each line. Suppose I have...
Yes, the length of each line.

Suppose I have a file with the lines:
Today is tuesday.
Tomorrow is Wednesday.

I have to find the length of the first line which I can do by character by...
Forum: Programming 08-30-2008
10,686
Posted By naan
Dynamic memory allocation
Hi,

I am trying to process line by line of a file. But I should not be allocating static allocation for reading the contents of the file. The memory should be dynamically allocated. The confusion...
Forum: Programming 08-07-2008
7,649
Posted By naan
to count the number of commented lines in a file
can someone guide me how to have a C pgm to count the number of commented lines?
Forum: Programming 04-28-2008
10,381
Posted By naan
Heap and stack
Hi,

I have a basic doubt here.

Consider the following code snippet:

main()
{
int *a;
.
.
}

Here the memory for a gets allocated in heap or stack.
Forum: Programming 12-15-2007
27,798
Posted By naan
I am looking for a function/call which does that
I am looking for a function/call which does that
Forum: Programming 12-15-2007
27,798
Posted By naan
to convert int to hex
Hi,

Can you help me in converting int value to hex in a single command.

Thanks
Forum: Programming 12-11-2007
14,666
Posted By naan
Syntax error at the end of input
Hi,

I am getting a strange error as "Syntax error at the end of input" but I dont find any error in the file.

Can anyone please let me know what it is?

Thanks
Forum: Programming 11-18-2007
23,911
Posted By naan
This has to be implemented in a deamon process in...
This has to be implemented in a deamon process in UNIX system. The daemon waits for any messages in a message queue and parallely has to go and execute a function by polling in every 30secs.
Forum: Programming 11-14-2007
23,911
Posted By naan
Is there any apprach apart from using threads...
Is there any apprach apart from using threads since I have not worked with threads at all.
Forum: Programming 11-12-2007
23,911
Posted By naan
Suppose if I have put the alarm in a function,...
Suppose if I have put the alarm in a function, and i need to catch the signal only inside the function, is it possible? ie. the process should be executing in the normal manner till it reaches this...
Forum: Programming 11-11-2007
23,911
Posted By naan
How to implement polling for a function using timer in C?
Hi,

Can you please help me in implementing a timer based polling for function in C? ie. the function should be called in say 30secs(when 30secs has lapsed).

Thanks
25,344
Posted By naan
multithreading in UNIX
Hi,

Can you please give me a suitable reference to learn multithreading programming in C in UNIX?

Thanks
Showing results 1 to 25 of 36

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