pranavjec 0 Newbie Poster

hi guys,

i have no idea how these lines work the given c program(see attachment).the program is about Read SEG-Y input data from disk file (stream of bytes)
to properly structured SEG-Y with proper IRGs on tape.The program didnt include any path of the file.does theses line works as path (i.e.frm the tape to the disk) as well.
fd_in_segy = open(argv[1],O_RDONLY);
fd_out_segy = open(argv[2],O_WRONLY);
i m bit confussed

bye

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.