Re: Fixing /etc/resolv.conf

2005-07-21 Thread Peter
On Thu, 21 Jul 2005 01:38:50 -0600 "Conway S. Smith" <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Peter H. wrote: > > Hi, > > > > In slackware the file /etc/resolv.conf is updated on every reboot. > > > > How can I stop that? I tried chattr +i and chmod -w w/

RE: Re: how to print a 64 bit variable in Linux

2005-07-21 Thread Mukund JB.
Thanks Svisor, I missed seeing the printf man pages. Thanks for the help. Regards, Mukund Jampala >-Original Message- >From: [EMAIL PROTECTED] [mailto:linux-newbie- >[EMAIL PROTECTED] On Behalf Of SVisor >Sent: Thursday, July 21, 2005 7:13 PM >To: linux-newbie@vger.kernel.org >Subject:

Re: how to print a 64 bit variable in Linux

2005-07-21 Thread SVisor
Mukund JB. wrote: Dear all, I have a truly miniature doubt here. sorry for asking this but I struggled enough before coming here. How do I print 8 byte (long long type) value in Linux? long long in dw; printf( "%lld",dw ); "man 3 printf" Or did I not understand your question. Regards, M

how to print a 64 bit variable in Linux

2005-07-21 Thread Mukund JB.
Dear all, I have a truly miniature doubt here. sorry for asking this but I struggled enough before coming here.   How do I print 8 byte (long long type) value in Linux?   Regards, Mukund Jampala   - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message t

using 2.6 kernel timespec nano sec?

2005-07-21 Thread Mukund JB.
Dear all, I have timing issue in my code powering up my socket device. I want use the current_kernel_time() and wait in terms of nano seconds. The tv_nsec (nano) of timespec structure will be overflowing every second. So, how do I handle it? Regards, Mukund Jampala - To unsubscribe from this li

Re: Fixing /etc/resolv.conf

2005-07-21 Thread Conway S. Smith
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter H. wrote: > Hi, > > In slackware the file /etc/resolv.conf is updated on every reboot. > > How can I stop that? I tried chattr +i and chmod -w w/o success. > > The reason is that the nameserver address which is put into the file on every > re