refs #167 Improved C snip; fopen should pair fclose.

This commit is contained in:
ujihisa 2013-07-09 18:28:55 -07:00
parent a7c23ac09e
commit 466124f4b2

View File

@ -146,7 +146,9 @@ snippet helloworld
# fopen # fopen
snippet fopen snippet fopen
abbr fopen("...", "..."); abbr fopen("...", "...");
fopen("${0:TARGET}", "${1:MODE}"); fopen("${1:PATH}", "${2:MODE}");
${0:TARGET}
fclose(${3:FD});
# fgets # fgets
snippet fgets snippet fgets