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. ADT Eclipse Plugin won't let me put in a Target

I've been trying to make a new Android project in Eclipse. But
whenever I try to do so, it won't let me select a build target. Here's
a screenshot: http://twitpic.com/198od6


2. SearchManager SUGGEST_COLUMN_ICON_1 for local file

Hi there,

I'm trying to display a custom icon next to each result in the search
It's an image file at in the app's data - in this case at:


I'm building a URI like this:
        String uri = new Uri.Builder()
                        .encodedPath(img)  // where image is the path
I mentioned before

But I get this error in the logs:
W/SuggestionsAdapter(   74): Icon not found: file:/data/data/
__cache_b3e4775cfbd30cd1e8fd7ad379ff9f04.jpg, /data/data/

I know this file exists - I can open it elsewhere e.g. by

Any ideas?  docs/examples seem to be rare on the ground for doing this
- trawled google extensively looking for results!

Thanks all,


3. Netbeans Profiler not working with netbeans android plugin

4. Filter in ExpandableListView

5. OOT: Seberapa Lokalkah Ponsel Lokal? was: Android merek lokal akan bertambah lagi

6. google map 4.1 is out

7. Mau tanya VPN itu buat apa sih?