[Groonga-commit] groonga/groonga at 8641a5b [master] uril: add a comment

Back to archive index

Susumu Yata null+****@clear*****
Mon Mar 14 11:14:54 JST 2016


Susumu Yata	2016-03-14 11:14:54 +0900 (Mon, 14 Mar 2016)

  New Revision: 8641a5b9ca97549111f202152a876bb87e8b26ef
  https://github.com/groonga/groonga/commit/8641a5b9ca97549111f202152a876bb87e8b26ef

  Message:
    uril: add a comment

  Modified files:
    lib/grn_util.h

  Modified: lib/grn_util.h (+6 -0)
===================================================================
--- lib/grn_util.h    2016-03-13 12:57:56 +0900 (cd7123c)
+++ lib/grn_util.h    2016-03-14 11:14:54 +0900 (24b4619)
@@ -29,6 +29,12 @@ GRN_API grn_rc grn_normalize_offset_and_limit(grn_ctx *ctx, int size, int *offse
 
 GRN_API char *grn_path_separator_to_system(char *dest, char *groonga_path);
 
+/*
+ * grn_mkstemp generates a unique filename from path_template, creates a
+ * file with permissions 0600 and returns a open file desciptor for the file.
+ * The last 6 bytes of path_template must be "XXXXXX" and these are replaced
+ * with a string that makes the filename unique.
+ */
 int grn_mkstemp(char *path_template);
 grn_bool grn_path_exist(const char *path);
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index