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