Commit Graph

2 Commits

Author SHA1 Message Date
paulatto 4bccbf5dd8 l1 is an unsigned int: it cannot be negative, error is signaled by it being == 0
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10129 c92efa57-630b-4861-b058-cf58834340f0
2013-04-09 13:44:09 +00:00
paulatto 99900e84ab Added a small C function to do a binary copy of a file and an interface to call it from fortran
res = f_copy(source, dest)

returns:
 0 : no error
-1 : cannot open source
-2 : cannot open dest
-3 : error while writing
-4 : disk full while writing




git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10111 c92efa57-630b-4861-b058-cf58834340f0
2013-04-07 15:34:07 +00:00