How to rewrite a files content? Linux x86_64, assembly, GAS
问题 Hi ive got this exciting task, almost done actually.. but it fails in a funny aspect. The mission is to load a file with integers, sort them and write them to a file. Yay... Well my program is doing that, but it keeps the original content. ie: lets say 45 32 Should get the ordered content 32 45 Well my program is keeping the original content and adds the new: 45 32 32 45. So any sugestions on solving this? Though of deleting the original file and creating a new one in the same name. But thats