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