summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-11-22 17:20:45 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-11-22 17:20:45 +0800
commit3078ba6363327744338ea67097809ec6b2cb066b (patch)
treed692045fd969d431a878b2de385c4dd623df570a /mbbsd
parent466da544fda3aa6ed86480162b607e1a2ae6ec55 (diff)
downloadpttbbs-3078ba6363327744338ea67097809ec6b2cb066b.tar
pttbbs-3078ba6363327744338ea67097809ec6b2cb066b.tar.gz
pttbbs-3078ba6363327744338ea67097809ec6b2cb066b.tar.bz2
pttbbs-3078ba6363327744338ea67097809ec6b2cb066b.tar.lz
pttbbs-3078ba6363327744338ea67097809ec6b2cb066b.tar.xz
pttbbs-3078ba6363327744338ea67097809ec6b2cb066b.tar.zst
pttbbs-3078ba6363327744338ea67097809ec6b2cb066b.zip
change utf8 comment to big5
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2349 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/file.c24
-rw-r--r--mbbsd/screen.c4
2 files changed, 14 insertions, 14 deletions
diff --git a/mbbsd/file.c b/mbbsd/file.c
index e1422713..d8a233a5 100644
--- a/mbbsd/file.c
+++ b/mbbsd/file.c
@@ -3,11 +3,11 @@
#include "bbs.h"
/**
- * file.c 是針對以"行"為單位的檔案所定義的一些 operation。
+ * file.c OwH""쪺ɮשҩwq@ operationC
**/
/**
- * 傳回 file 檔的行數
+ * Ǧ^ file ɪ
* @param file
*/
int file_count_line(char *file)
@@ -28,10 +28,10 @@ int file_count_line(char *file)
}
/**
- * 將 string append 到檔案 file 後端
- * @param file 要被 append 的檔
+ * N string append ɮ file
+ * @param file nQ append
* @param string
- * @return 成功傳回 0,失敗傳回 -1。
+ * @return \Ǧ^ 0AѶǦ^ -1C
*/
int file_append_line(char *file, char *string)
{
@@ -47,10 +47,10 @@ int file_append_line(char *file, char *string)
#ifndef _BBS_UTIL_C_
/**
- * 從檔案 file 中刪除 prefix 為 string 的每一行。(小心 race)
+ * qɮ file R prefix string C@C(p race)
* @param file
* @param string
- * @param case_sensitive 字串比對是否 case sensitive
+ * @param case_sensitive rO_ case sensitive
*/
int file_delete_line(char *file, char *string, int case_sensitive)
{
@@ -79,7 +79,7 @@ int file_delete_line(char *file, char *string, int case_sensitive)
#endif
/**
- * 傳回檔案 file 中是否有 string 這個字串。
+ * Ǧ^ɮ file O_ string oӦrC
*/
int file_exist_record(char *file, char *string)
{
@@ -98,11 +98,11 @@ int file_exist_record(char *file, char *string)
}
/**
- * 對每一筆 record 做 func 這件事。
+ * C@ record func oơC
* @param file
- * @param func 處理每筆 record 的 handler,為一 function pointer。
- * 第一個參數是檔案中的一行,第二個參數為 info。
- * @param info 一個額外的參數。
+ * @param func BzC record handlerA@ function pointerC
+ * Ĥ@ӰѼƬOɮפ@AĤGӰѼƬ infoC
+ * @param info @B~ѼơC
*/
int file_foreach_entry(char *file, int (*func)(char *, int), int info)
{
diff --git a/mbbsd/screen.c b/mbbsd/screen.c
index e0b55ddb..0e3e2af0 100644
--- a/mbbsd/screen.c
+++ b/mbbsd/screen.c
@@ -242,7 +242,7 @@ clrtoeol()
}
/**
- * 從目前的行數(scr_ln) clear 到第 line 行
+ * qثe(scr_ln) clear line
*/
void
clrtoline(int line)
@@ -261,7 +261,7 @@ clrtoline(int line)
}
/**
- * 從目前的行數(scr_ln) clear 到底
+ * qثe(scr_ln) clear 쩳
*/
inline void
clrtobot()