Firt of all, I want excuse me for my mail without subject ( I forgot it) of
21/02/2000. I asked about the subject of this mail. I do this solution.
On linux space:
[...]
flength=lseek(fd,0,SEEK_END);
p=(char*)mbuff_alloc(M_PTR_MC,flength);
[ if error...]
pfichero=mmap((caddr_t)p,flength,
PROT_READ,MAP_SHARED|MAP_FIXED|MAP_LOCKED,fd,0);
and on rtlinux space:
pteroMC=(char*)mbuff_alloc(M_PTR_MC,sizeMC);
if(pteroMC==NULL){
[....]
Thanks for all.
--
Windows 98 no se cuelg·$%&/# NO CARRIER
=============================================================================
Mario Teijeiro Otero mailto:[EMAIL PROTECTED]
Powered by RedHat 6.1 clave: Mandame un correo con
Usr. Reg. 122438,Maq. Reg. 74229 Subject:[PGPKEY]
=============================================================================
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/