Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

i want to get a log file of VxWorks project, how can i do?

Status
Not open for further replies.

clivechen

Member level 3
Joined
May 29, 2004
Messages
65
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
500
writing to a log file in vxworks

hi, i want to log my log message into a file, just like a logfile of other OS, just like linux, window.
how can i do that?
i wrote the code like bellow:

fd=creat("log.txt",O_RDWR);
fd1=iosFdValue(fd);
logMsg("123 memory\n",0,0,0,0,0,0);

why i can't creat the "log.txt", why the logMsg can't be write into the log.txt.
i am a beginer,
thanks for any help.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top