Commit 23db0b85 authored by Yanbo Zhou's avatar Yanbo Zhou Committed by Daniel Verkamp
Browse files

include/fd.h: add comments for pubclic APIs



Change-Id: I3a23e6c6b640428260ebf300ded9b8cdac501ef4
Signed-off-by: default avatarYanbo Zhou <yanbo.zhou@intel.com>
Reviewed-on: https://review.gerrithub.io/392917


Tested-by: default avatarSPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: default avatarPaul Luse <paul.e.luse@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
Reviewed-by: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: default avatarGangCao <gang.cao@intel.com>
parent 6d8dc523
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -44,7 +44,22 @@
extern "C" {
#endif

/**
 * Get the file size.
 *
 * \param fd  File descriptor.
 *
 * \return    File size.
 */
uint64_t spdk_fd_get_size(int fd);

/**
 * Get the block size of the file.
 *
 * \param fd  File descriptor.
 *
 * \return    Block size.
 */
uint32_t spdk_fd_get_blocklen(int fd);

#ifdef __cplusplus