摘要:
NAME fmemopen, open_memstream, open_wmemstream - open memory as streamSYNOPSIS #include <stdio.h> FILE *fmemopen(void *buf, size_t size, const char *mode); FILE *open_memstream(char **ptr, size_t *sizeloc); #include <wchar.h> FILE *open_wmemstream(wchar_t **ptr, size... 阅读全文
摘要:
if-fi#! /bin/bash
# 删除文件 和 新建文件
file=readme
function delFile(){ if [ -e ./$file ];then rm -f ./$file echo "del $file ..." fi
}
function addFile(){ if [ ! -f ./$file ];then touch $file echo "add $file ..." fi
}
delFile
addFile Result:(没有readme文件)[work ... 阅读全文