Skip to content

Instantly share code, notes, and snippets.

@kracekumar
Created December 9, 2017 19:03
Show Gist options
  • Save kracekumar/8cd44ff27b81e200343bc58d194dd595 to your computer and use it in GitHub Desktop.
Save kracekumar/8cd44ff27b81e200343bc58d194dd595 to your computer and use it in GitHub Desktop.
open("/tmp/empty.json", O_RDONLY|O_CLOEXEC) = 12
fstat(12, {st_mode=S_IFREG|0640, st_size=3, ...}) = 0
ioctl(12, TCGETS, 0x3fffed9c8200) = -1 ENOTTY (Inappropriate ioctl for device)
lseek(12, 0, SEEK_CUR) = 0
ioctl(12, TCGETS, 0x3fffed9c8170) = -1 ENOTTY (Inappropriate ioctl for device)
lseek(12, 0, SEEK_CUR) = 0
lseek(12, 0, SEEK_CUR) = 0
fstat(12, {st_mode=S_IFREG|0640, st_size=3, ...}) = 0
read(12, "{}\n", 4) = 3
read(12, "", 1) = 0
close(12) = 0
open("/tmp/empty.json", O_RDONLY|O_CLOEXEC) = 12
fstat(12, {st_mode=S_IFREG|0640, st_size=3, ...}) = 0
ioctl(12, TCGETS, 0x3fffed9c8200) = -1 ENOTTY (Inappropriate ioctl for device)
lseek(12, 0, SEEK_CUR) = 0
ioctl(12, TCGETS, 0x3fffed9c8170) = -1 ENOTTY (Inappropriate ioctl for device)
lseek(12, 0, SEEK_CUR) = 0
lseek(12, 0, SEEK_CUR) = 0
fstat(12, {st_mode=S_IFREG|0640, st_size=3, ...}) = 0
read(12, "{}\n", 4) = 3
read(12, "", 1) = 0
close(12) = 0
open("/tmp/empty.json", O_RDONLY|O_CLOEXEC) = 12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment