揮発性のメモ2

最近知った知識を さも昔から知ってた風にメモ書きしていく

writeとsprintf

result = write( fd, buf, sprintf(buf,"ABC=%5s\n",str) );

いいのかこのコード