示例#1
0
文件: ui.cpp 项目: simedcn/fityk
    char* next(FILE *fp)
    {
#if HAVE_GETLINE
        return return_buf(getline(&buf_, &len_, fp));
#else
        // if GNU getline() is not available, use very simple replacement
        return return_buf(our_getline(&buf_, &len_, fp));
#endif
    }
示例#2
0
文件: inline.c 项目: 4ntoine/clang
void test_return_stack_memory_ok() {
  char stack_buf[100];
  char *pos = return_buf(stack_buf);
  (void) pos;
}
示例#3
0
文件: ui.cpp 项目: simedcn/fityk
 char* gz_next(gzFile gz_stream)
 {
     return return_buf(gzipped_getline(&buf_, &len_, gz_stream));
 }