What kind of debug output statement is valid in getaddrinfo.c?

by 鎹疯秴 鐜 » Fri, 20 May 2011 17:17:53 GMT


Sponsored Links
 Hi, developers:

I am currently developing an IPv6 DNS resolver on Android-x86 platform
in socket programming in C so I would like to modify some code in /
home/ubuntu/android-x86/bionic/libc/netbsd/net/getaddrinfo.c". I want
to do debugging in this file so I am trying to adding debug output
statements in this file.

I 've tried "LOGE", "printf" and "fprintf" but none of them works.
Is there anyone knows what kind of debug output statement is valid in
this file? Thank you very much!!

Best wishes,

Jiechao Wang
BUPT

-- 



Other Threads

1. where does openFileOutput store the file

Hey guys,

M trying to write a file using openFileOutput, using the following snippet:

              // open myfilename.txt for writing
              OutputStreamWriter out = new
OutputStreamWriter(openFileOutput("myfilename.txt",0));
              // write the contents on mySettings to the file
              out.write(sa_lt);
              // close the file
              out.close();

I have to use this file, myfilename.txt, later in my native code. To
reference it I must know it's path.

Anyone knows where does openFileOutput create the file and if it can be
opened in my native code using the path, as in would there be any permission
issues.

Please guide me

Abhyudai

-- 

2. Samsung Galaxy S2 With HD Touchscreen--Too Good To Be True?

Cm bs geleng" kepala...takjub ama harganya...he...he...






http://pocketnow.com/tech-news/samsung-galaxy-s2-with-hd-touchscreen-too-good-to-be-true

---
This message was sent by eko.m...@gmail.com via http://addthis.com.  Please
note that AddThis does not verify email addresses.

Make sharing easier with the AddThis Toolbar:
http://www.addthis.com/go/toolbar-em

--
"Indonesian Android Community [id-android]"

3. Garbage Collection Infinit Loop: clamp GC FOR MALLOC Grow heap loop

4. Web Runtime Curriculum Advanced v1.0 Beta

5. Android Emma Code Coverage

6. Are Android apps developed with the NDK slower than their counterparts on other OS's?

7. Samsung Galaxy S2 With HD Touchscreen--Too Good To Be True?