Просмотр исходного кода

ncd: modules: sleep: explain what sleep() with one argument means

ambrop7 13 лет назад
Родитель
Сommit
53bbc75cae
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      ncd/modules/sleep.c

+ 3 - 3
ncd/modules/sleep.c

@@ -35,9 +35,9 @@
  *   On init, sleeps 'ms_start' milliseconds then goes up, or goes up immediately
  *   On init, sleeps 'ms_start' milliseconds then goes up, or goes up immediately
  *   if 'ms_start' is an empty string.
  *   if 'ms_start' is an empty string.
  *   On deinit, sleeps 'ms_stop' milliseconds then dies, or dies immediately if
  *   On deinit, sleeps 'ms_stop' milliseconds then dies, or dies immediately if
- *   'ms_stop' is an empty string. If a deinit is requested while the init sleep
- *   is still in progress, the init sleep is aborted and the deinit sleep is started
- *   immediately (if any).
+ *   'ms_stop' is an empty string or is not provided. If a deinit is requested while
+ *   the init sleep is still in progress, the init sleep is aborted and the deinit
+ *   sleep is started immediately (if any).
  */
  */
 
 
 #include <stdlib.h>
 #include <stdlib.h>