Changeset f85ed4b in mainline for uspace/srv/net/dnsres/dnsres.c
- Timestamp:
- 2012-08-12T17:51:26Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 08a6382
- Parents:
- adae30d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/dnsres/dnsres.c
radae30d rf85ed4b 39 39 #include "dns_msg.h" 40 40 #include "dns_std.h" 41 #include "query.h" 41 42 42 43 #define NAME "dnsres" … … 44 45 int main(int argc, char *argv[]) 45 46 { 47 dns_host_info_t hinfo; 48 int rc; 49 46 50 printf("%s: DNS Resolution Service\n", NAME); 51 rc = dns_name2host("helenos.org", &hinfo); 52 printf("dns_name2host() -> rc = %d\n", rc); 53 47 54 return 0; 48 55 }
Note:
See TracChangeset
for help on using the changeset viewer.