I was trying to create a program very similar to that of this user that created a file whose name was specified in argv[1]
. My program didn't create the file supplied from the command line just like theirs. One user recommended using syscall
rather than int $0x80
, this fixed the problem.
What I would like to know is why exactly syscall
worked and why int $0x80
didn't.