guowenxue
2021-08-17 ee83fc12d7cda0641d45dab6855f9abb1189618d
apue/2.Socket/ds18b20.c
@@ -98,5 +98,7 @@
    /* convert string value to float value */
    *temp = atof(ptr)/1000;
   
    close(fd);
    return 0;
}