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


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
              // write the contents on mySettings to the file
              // close the file

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

Please guide me



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

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


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:

"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?