Search found 3 matches
- Mon Apr 02, 2012 3:19 pm
- Forum: dxflib 'How Do I' Questions
- Topic: How do I write DXF text to stdout?
- Replies: 5
- Views: 30306
Re: How do I write DXF text to stdout?
DL_WriterA requires file name as parameter while these (safe) functions return file descriptor or stream -- not file name.
- Fri Mar 30, 2012 8:32 am
- Forum: dxflib 'How Do I' Questions
- Topic: How do I write DXF text to stdout?
- Replies: 5
- Views: 30306
Re: How do I write DXF text to stdout?
I use 'tmpnam' to generate temporary file name although the manual page on 'tmpnam' does not recommend to use this function: #man 3 tmpnam ... BUGS Never use this function. Use mkstemp(3) or tmpfile(3) instead. ... Could you recommend more coorect way to generate temporary file for writing DXF data?
- Sat Mar 24, 2012 5:24 pm
- Forum: dxflib 'How Do I' Questions
- Topic: How do I write DXF text to stdout?
- Replies: 5
- Views: 30306
How do I write DXF text to stdout?
I use DL_WriterA to write DXF text to some.dxf file. Is there any way to redirect DXF text to stdout?