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. Callback to activity after layout has completed?

I want to find the dimensions of the various views in my layout.  My
understanding is this can only be done after layout is completed since
layout is somewhat dynamic.  So, after the activity calls
setContentView() and then returns control on the main thread to the OS
so that layout can occur, how do I get a notification that layout has
completed so I that I can query the views for their dimensions?

On a related topic, can I find out the status bar's height...or least
the screen's full size (from which the status bar's height can be
calculate by subtracting my window's height)?

Thanks.

--~--~---------~--~----~------------~-------~--~----~

2. Some transactions are charged a 5% transaction fee instead of the usual 30%

Anyone else seeing this?  Most of these sales are to people outside of
the U.S., but not all.

I wonder what triggers this lower fee (not that I'm complaining!) -
don't recall reading about this in the fine print...
--~--~---------~--~----~------------~-------~--~----~

3. Short question: Is HTC Dream multi-touch screen natively? Tks

4. problem in installing adnroid plugin in eclipse

5. Android Developer Phone Update Problems

6. Themes - Is it possible to apply a style to a specific view ID (that multiple views share) from the Theme?

7. How these android namespace used when declare-styleable?