[BACK]Return to sndioctl.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / sndioctl

Diff for /src/usr.bin/sndioctl/sndioctl.c between version 1.18 and 1.19

version 1.18, 2022/12/26 19:16:03 version 1.19, 2023/01/31 21:38:01
Line 839 
Line 839 
 /*  /*
  * register a new knob/button, called from the poll() loop.  this may be   * register a new knob/button, called from the poll() loop.  this may be
  * called when label string changes, in which case we update the   * called when label string changes, in which case we update the
  * existing label widged rather than inserting a new one.   * existing label widget rather than inserting a new one.
  */   */
 void  void
 ondesc(void *arg, struct sioctl_desc *d, int curval)  ondesc(void *arg, struct sioctl_desc *d, int curval)
Line 1027 
Line 1027 
                         exit(1);                          exit(1);
                 }                  }
                 for (;;) {                  for (;;) {
                        fflush(stdout);                          fflush(stdout);
                         nfds = sioctl_pollfd(hdl, pfds, POLLIN);                          nfds = sioctl_pollfd(hdl, pfds, POLLIN);
                         if (nfds == 0)                          if (nfds == 0)
                                 break;                                  break;

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19