aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/strfcpy.h
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.ru>2022-02-10 16:45:08 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:08 +0300
commit4e839db24a3bbc9f1c610c43d6faaaa99824dcca (patch)
tree506dac10f5df94fab310584ee51b24fc5a081c22 /util/generic/strfcpy.h
parent2d37894b1b037cf24231090eda8589bbb44fb6fc (diff)
downloadydb-4e839db24a3bbc9f1c610c43d6faaaa99824dcca.tar.gz
Restoring authorship annotation for <thegeorg@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/generic/strfcpy.h')
-rw-r--r--util/generic/strfcpy.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/generic/strfcpy.h b/util/generic/strfcpy.h
index 8a95bc3df2..1955a18b6e 100644
--- a/util/generic/strfcpy.h
+++ b/util/generic/strfcpy.h
@@ -1,11 +1,11 @@
#pragma once
/*
- * strfcpy is a faster version of strlcpy().
- * It returns void thus does not wastes time computing
- * (most likely, unneeded) strlen(str)
+ * strfcpy is a faster version of strlcpy().
+ * It returns void thus does not wastes time computing
+ * (most likely, unneeded) strlen(str)
*
- * Comparison with other copying functions:
+ * Comparison with other copying functions:
* strcpy() - buffer overflow ready
* strncpy() - wastes time filling exactly n bytes with 0
* strlcpy() - wastes time searching for the length of src