Dolda2000 GitWeb
/
ashd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use SOCK_SEQPACKET between processes to ensure EOF receipt. Probably only works on...
[ashd.git]
/
lib
/
utils.c
diff --git
a/lib/utils.c
b/lib/utils.c
index
863fe4f
..
a5faaa6
100644
(file)
--- a/
lib/utils.c
+++ b/
lib/utils.c
@@
-98,3
+98,8
@@
char *sprintf3(char *format, ...)
va_end(args);
return(buf);
}
+
+off_t atoo(char *n)
+{
+ return((off_t)strtoll(n, NULL, 10));
+}