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