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