mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-15 05:53:04 +00:00
8 lines
257 B
Plaintext
8 lines
257 B
Plaintext
# -*- mode: snippet -*-
|
|
# key: write
|
|
# contributor: Translated from TextMate Snippet
|
|
# name: Write
|
|
# --
|
|
write(unit=${1:iounit}, fmt="(${2:format string})", iostat=${3:ios}${4:, advance='NO'}) ${5:variables}
|
|
if ( $3 /= 0 ) stop "Write error in file unit $1"
|