Re: Does getc(3) use the read(2) syscall?

2010-02-03 Thread Daniel Molina Wegener
On Wednesday 03 February 2010, Marc Olzheim wrote: > On Wed, Feb 03, 2010 at 10:23:50AM -0300, Daniel Molina Wegener wrote: > > > I'm having trouble looking this function up in the source tree, the > > > trail seems to end at __sys_read which has a bunch of prototypes

Re: Does getc(3) use the read(2) syscall?

2010-02-03 Thread Daniel Molina Wegener
On Wednesday 03 February 2010, Stefan Midjich wrote: > I'm having trouble looking this function up in the source tree, the trail > seems to end at __sys_read which has a bunch of prototypes but i can't find > the actual function code. Well, you can try cscope --- IMO the best option to search

problem compiling RELENG_6

2007-11-18 Thread Daniel Molina Wegener
or code 2 -8<--8<--8<--8<--8<- Same problem with genmask.c, getline.c, hexdump.c and other files. Thanks, -- .O. | Daniel Molina Wegener | C/C++ Developer ..O | dmw [at] unete [dot] cl | FOSS Coding Adict OOO

kevent notes implementation

2007-07-27 Thread Daniel Molina Wegener
Hello, I was looking the code of kqueue(2)/kevent(2), also the manual pages. Is there any reason why NOTE_OPEN, NOTE_CLOSE and NOTE_READ aren't implemented yet. What may be considered in these KNOTEs implementation? Best regards. -- .O. | Daniel Molina Wegener | C/C++ Deve

A few questions...

2007-07-23 Thread Daniel Molina Wegener
ture members against zero. b) Can normal users look for system processes or kernel threads? c) Can root look for system processes or kernel threads? Regards, -- .O. | Daniel Molina Wegener | C/C++ Developer ..O | dmw [at] unete [dot] cl | FOSS Coding Adict OOO | FreeBSD & Linux User

Setting up development environment

2007-05-29 Thread Daniel Molina Wegener
ial c-mode-hooks and c++-mode-hooks for emacs to environment variables for cross-compiling the FreeBSD source. Can anyone guide me, or send me tips to get an optimal chance to contribute with FreeBSD?. Best regards, -- .O. | Daniel Molina Wegener | C/C++ Developer ..O | dmw [at] unete [do

Re: Problems compiling BUILDING from STABLE

2007-05-26 Thread Daniel Molina Wegener
cause the targets are using the level 6 of warnings in sys/mk/bsd.sys.mk > > > --- > OS Developer > I'm Searching For Perfection, > So Even If U Need Portability U've To Use Assembly ;-) > --- > http://libosdk.berlios.de > [SNIP] Regards, -- .O. | Daniel Molin

Problems compiling BUILDING from STABLE

2007-05-26 Thread Daniel Molina Wegener
line option "-Wchar-subscripts" -8<----------- What's my error? Regards, -- .O. | Daniel Molina Wegener | C/C++ Developer ..O | dmw [at] unete [dot] cl | FOSS Coding Adict OOO | BSD & Linux User| Standards

Re: kqueue implementation

2007-05-22 Thread Daniel Molina Wegener
On Tuesday 22 May 2007 13:04:37 Suleiman Souhlal wrote: > On May 21, 2007, at 6:48 AM, Daniel Molina Wegener wrote: > > On Monday 21 May 2007 03:57:58 John-Mark Gurney wrote: > >> Daniel Molina Wegener wrote this message on Sun, May 20, > >> 2007 > > > >

Re: kqueue implementation

2007-05-22 Thread Daniel Molina Wegener
eBSD shouldn't be applicable?. > > Joerg > > [SNIP] Regards, -- .O. | Daniel Molina Wegener | C/C++ Developer ..O | dmw [at] unete [dot] cl | FOSS Coding Adict OOO | BSD & Linux User| Standards Rocks! ___ freebsd-hack

Re: kqueue implementation

2007-05-21 Thread Daniel Molina Wegener
On Monday 21 May 2007 03:57:58 John-Mark Gurney wrote: > Daniel Molina Wegener wrote this message on Sun, May 20, 2007 at 18:31 -0400: > >I'm coding an application using the kqueue facility, but > > I see that I can't handle open and read events. Is planned > >

kqueue implementation

2007-05-20 Thread Daniel Molina Wegener
Hello, I'm coding an application using the kqueue facility, but I see that I can't handle open and read events. Is planned to implement these handlings in the future?. Also, which facility can I use to handle these kind of events? Regards, -- .O. | Daniel Molina Wegener | C/C++

Re: issue with net/if_ppp.h

2007-05-15 Thread Daniel Molina Wegener
oes anybody knows if this is a bug or problem with the net/if_ppp.h header? No, if_ppp requires other headers, I'm far from my BSD system, but you must look which header you must include before the if_ppp hreader. > > thanks in advance > > Manolito

Re: strange pthread keys behavior

2007-01-07 Thread Daniel Molina Wegener
d exits, it can't call the > destructor and it iterates PTHREAD_KEY_MAX times trying to > deallocate the key data. That is where the error message is > generated. Thanks, really... Best regards... -- . 0 . | Daniel Molina Wegener . . 0 | dmw at unete dot cl 0 0 0 | FreeB

strange pthread keys behavior

2007-01-07 Thread Daniel Molina Wegener
d_key_delete (k2); #endif /* !PTHR_WARNS */ sleep (2); pthread_exit (NULL); } - END CODE - Best regards... -- . 0 . | Daniel Molina Wegener . . 0 | dmw at unete dot cl 0 0 0 | FreeBSD User ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: how to deal with const

2006-12-31 Thread Daniel Molina Wegener
ONST macro. Take a look in /usr/src/sys/libkern/strstr.c for the function definition and /usr/src/sys/geom/label/g_label.c for usage. The function prototype is defined in sys/libkern.h Best regards... -- . 0 . | Daniel Molina Wegener . . 0 | dmw at unete dot cl 0 0 0 | FreeBSD User _

Re: Example network protocol implementation

2006-12-09 Thread Daniel Molina Wegener
-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" Best regards, -- . 0 . | Daniel Molina Wegener . . 0 | dmw at unete dot cl 0 0 0 | FreeBSD User ___

Re: compiling the kernel faster

2005-10-27 Thread Daniel Molina Wegener
e new kernel. You can > use the uname -a command to make sure you are on the new > kernel okay. If the machine won't boot, you can boot into > single user mode and copy the old kernel back in place. > > An excellent book on the subject is: > > Absolute BSD: The Ultimate G

Re: usb umass

2005-10-26 Thread Daniel Molina Wegener
questions at freebsd dot org. Atte. -- . 0 . | Daniel Molina Wegener . . 0 | dmw at unete dot cl 0 0 0 | FreeBSD Power User ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, sen

Re: Which branch?

2005-10-20 Thread Daniel Molina Wegener
On Wed, Oct 19, 2005 at 09:17:09PM -0700, Brooks Davis wrote: > On Thu, Oct 20, 2005 at 01:09:02AM -0300, Daniel Molina Wegener wrote: > > > > Hello, > > > >My computer is running with FreeBSD 5.4-STABLE. I've tried > > updating the source tree

Which branch?

2005-10-19 Thread Daniel Molina Wegener
gards -- . 0 . | Daniel Molina Wegener . . 0 | dmw at unete dot cl 0 0 0 | FreeBSD Power User ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

any way to reset errno?

2005-02-06 Thread Daniel Molina Wegener
Hello, Any way to reset errno? Thanks... Regards. -- . 0 . | Daniel Molina Wegener . . 0 | dmw at trauco dot cl 0 0 0 | http://trauco.cl/ ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers