lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] SMEMCPY


From: Frédéric BERNON
Subject: [lwip-devel] SMEMCPY
Date: Tue, 22 Jan 2008 11:06:03 +0100

SMEMCPY description is :

"SMEMCPY: override this with care! Some compilers (e.g. gcc) can inline a
 * call to memcpy() if the length is known at compile time and is small."

But I see some use in sockets.c like SMEMCPY(addr, &sin, *addrlen); In this 
case, the size is not known at compile time. What is the correct use (or 
description) for this macro ? 
 
  
====================================
Frédéric BERNON 
HYMATOM SA 
Chef de projet informatique 
Microsoft Certified Professional 
Tél. : +33 (0)4-67-87-61-10 
Fax. : +33 (0)4-67-70-85-44 
Email : address@hidden 
Web Site : http://www.hymatom.fr 
====================================
P Avant d'imprimer, penser à l'environnement

Attachment: Frédéric BERNON.vcf
Description: Frédéric BERNON.vcf


reply via email to

[Prev in Thread] Current Thread [Next in Thread]