Show
Ignore:
Timestamp:
08/22/07 19:04:12 (6 years ago)
Author:
khali
Message:

Drop support for reloading the configuration with sensors_init().
Instead, the application will have to call sensors_exit() explicitly
before calling sensors_init() again. Most applications don't offer
any way to reload the configuration file, so better optimize for the
initial load.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/branches/lm-sensors-3.0.0/lib/libsensors.3

    r4666 r4693  
    5454.B int sensors_init(FILE *input); 
    5555.br 
    56 (Re)load the configuration file and the detected chips list. If this returns a value unequal to zero, you are in trouble; you can not assume anything will be initialized properly. 
     56Load the configuration file and the detected chips list. If this returns a 
     57value unequal to zero, you are in trouble; you can not assume anything will 
     58be initialized properly. If you want to reload the configuration file, call 
     59sensors_cleanup() below before calling sensors_init() again. 
    5760 
    5861.B void sensors_cleanup(void);