Copy comment from tempfile.h to tempfile.c
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 10 Mar 2009 00:05:15 +0000 (00:05 +0000)
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 10 Mar 2009 00:05:15 +0000 (00:05 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27687 f5534014-38df-0310-8fa8-9805f1628bb7

tempfile.c

index 5052a1a36df33b3cf6e1c7920fe8f8250d09f446..e545b3b43abb7f2dc10a8d17f27f31042eda2729 100644 (file)
@@ -100,6 +100,11 @@ static const char *E_tmpdir;
 #define P_tmpdir "/var/tmp"
 #endif
 
+/* create a tempfile with the given prefix (e.g. "ether")
+ * namebuf (and namebuflen) should be 128+1 bytes long (BTW: why?)
+ * returns the file descriptor of the new tempfile and
+ * the name of the new file in namebuf 
+ */
 int
 create_tempfile(char *namebuf, int namebuflen, const char *pfx)
 {