... Yes it is going to be set of pre-known variables ... Thats a good idea, but i have to do lot of work to list down all the global variables in the...
Paras Jain
paras@...
Apr 1, 2004 10:39 am
4871
Hi all Problem with C++ code segment... There's a code example... #include <iostream.h> int main () { char myarray[10]; try { for (int n=0; n<=10; n++) { if...
... proc filesystems are not like common filesystems.Files do not exist on disk or RAM. If u do $ cat /proc/myfile" or $ echo "linux">/proc/myfile then on the...
Biswajit Paul
biswajit_paul@...
Apr 1, 2004 10:41 am
4873
hi all, this code is from namei.c -> do_getname which is called from getname() --> which is from sys_open().. static inline int do_getname(const char...
Amith
amith@...
Apr 1, 2004 10:42 am
4874
... The former is used to lock a semaphore, the latter is used for waiting on wait queues. This should help you...
All: I am getting a wee bit tired here. Just about every second post to this list violates the list rules. If it isn't a top-post, it is an overquoteted...
... No. Your exception is actually not caught. In g++ the default termination action for uncaught exceptions is to call abort(). To fix this , change your...
... the ... must ... You can explore "the linker script" - I mean, the way the kernel module init functions are registered with the kernel...Just checkout the...
C K Kashyap
kashyap@...
Apr 1, 2004 12:24 pm
4878
... This is actually code problem. You cant throw exceptions forcefully in the try block,i.e u cant have a throw() in a try block. Check out Stroustrup for...
Harsha Anand
harsha.ana@...
Apr 1, 2004 12:24 pm
4879
... ur array myarray is of size 10 bytes (index from 0 -9), but u r indexing the 10th element. is that the reason ?...
Paras Jain
paras@...
Apr 1, 2004 12:25 pm
4880
... amith> thanks for you elaborate answer. But what i wanted to know was why do we have proc_fops structure ? as u pointed out write_proc and read_proc are...
Amith
amith@...
Apr 1, 2004 12:26 pm
4881
... char ... char ... And yes, that should have been " catch (const char * str) ". :) Regards, Manish Malik Important: Unless explicitly stated to the...
Manish_Malik
Manish_Malik@...
Apr 1, 2004 12:31 pm
4882
... From: "Manish_Malik" <Manish_Malik@...> To: <linux-bangalore-programming@yahoogroups.com> Sent: Thursday, April 01, 2004 4:39 PM Subject: RE:...
Arunkumar
akumars@...
Apr 1, 2004 12:38 pm
4883
... This is the generic all match case, but have to use "str" in a different way to print. Srini....
... You're throwing a pointer to const char and you're catching a pointer to char. So you're not catching what you're throwing. Make that: catch (const char*...
... do_getname API can be called from kernel too. If the address of filename is greater than TASK_SIZE that means the API is being called from kernel in that...
... . . ... You are trying to catch "char * str", when you are throwing a "const char * str". That is the problem (static strings are of the type "const char...
Manish_Malik
Manish_Malik@...
Apr 1, 2004 4:31 pm
4887
Thank you for subscribing to the linux-bangalore-programming mailing list. This message is to give you some information about this list and other lists we...
linux-bangalore-progr...
linux-bangalore-progr...
Apr 2, 2004 12:23 am
4888
... You could possibly get the address of tmpString and then read the mem address directly byte by byte till you reach the " \0 ". Theoritically possible but...
AJ
j_anant@...
Apr 2, 2004 6:50 am
4889
Since yesterday, I am unable to reach groups.yahoo.com using any ISP I try. The message I get is Gateway Timeout The following error occurred: A gateway...
Hi All, I am writing a php script where i use session variables to mantain some data across the pages. I am facing problems to maintain the data in the session...
... =================================================== 1.) I think its the way compilers handle const data the cause. If you run the same in compilers like...
kapil murarkar
mmkapil@...
Apr 3, 2004 4:50 am
4892
I want to read kernel variable and display them for this in solaris i use kvm_kread is there a method to do so on linux and how below is solrais man page ...
Hi I am trying to compile the C++ source code in Linux 9 . It is giving lot of compliation errors. Does any body is working on linux 9 . please specify if...
bindu hima
bindughima@...
Apr 5, 2004 7:28 am
4894
... There is no linux 9. If it it redhat/mandrake/suse9 then they release bug-fixes, which might be good enough....
... All those functions in the man page looked like they copied "n" bytes to/from kernel space from/to user space. Please correct me if I am wrong. In linux,...
C K Kashyap
kashyap@...
Apr 5, 2004 7:36 am
4896
... Did you try compiling a "hello world" c++ program?...
C K Kashyap
kashyap@...
Apr 5, 2004 7:37 am
4897
... It might help if you give a sample of those errors. Are you getting while compiling C programs also ?? cheers, Arvind ......
Arvind Kandhare
arvind.kan@...
Apr 5, 2004 7:41 am
4898
... I am working on Redhat9.0 profrssional . which is having gcc - 3.2.2 I am not getting any error during c++ source code compilation. please check for...
sanjay kumar
sanjay@...
Apr 5, 2004 8:10 am
4899
Dear friends, In certain part of my code i need to have the overall usage of Physical Memory at run-time. I am looking for the structure which writes the...