stdio.c
来自「source of perl for linux application,」· C语言 代码 · 共 29 行
C
29 行
/* This provides a test of STDIO and emulates a library that has been built outside of the PerlIO system and therefore is built using FILE* rather than PerlIO * (a common occurrence for XS). Use a separate file to make sure we are not contaminated by PerlIO.*/#include <stdio.h>/* Open a file for write */FILE * xsfopen ( const char * path ) { FILE * stream; stream = fopen( path, "w"); return stream;}int xsfclose ( FILE * stream ) { return fclose( stream );}int xsfprintf ( FILE * stream, const char * text ) { return fprintf( stream, text );}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?