@@ -46,7 +46,7 @@ int main(int argc, char *argv[])
char *p_folder = NULL, *a_folder = NULL;
/* timer: optional */
struct itimerspec its;
- timer_t timerid;
+ timer_t timerid = 0;
int ismounted = 0;
/* handle options */
@@ -136,6 +136,8 @@ int main(int argc, char *argv[])
}
printf("Folder path %s is %sa mount point.\n", path, (ismounted) ? "" : "*not* " );
+ if (timerid)
+ timer_delete(timerid);
return EXIT_SUCCESS;
@@ -0,0 +1,15 @@
+# show bits
+
+Easy display of one register's flags
+```sh
+cc showbits.c -O3 -o showbits
+./showbits 0xff
+31·30·29·28·27·26·25·24·23·22·21·20·19·18·17·16·15·14·13·12·11·10·09·08·07·06·05·04·03·02·01·00
+__⁞__⁞__⁞__⁞__⁞__⁞__⁞__⁞__⁞__⁞__⁞__⁞__⁞__⁞__⁞__⁞__⁞__⁞__⁞__⁞__⁞__⁞__⁞__⁞✱✱⁞✱✱⁞✱✱⁞✱✱⁞✱✱⁞✱✱⁞✱✱⁞✱✱
+```