You need to sign in or sign up before continuing.
  • L
    util: new function virFileLength() · e026563f
    Laine Stump 提交于
    This new function just calls fstat() (if provided with a valid fd) or
    stat() (if fd is -1) and returns st_size (or -1 if there is an
    error). We may decide we want this function to be more complex, and
    handle things like block devices - this is a placeholder (that works)
    for any more complicated function.
    e026563f
virfile.h 11.5 KB