Re: strlen-like function for pointers? ptrlen?

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

 



>> If it doesn't exist -- do you see something that could go wrong with a
>> ptrlen function? Would upstream like it?
>
> There is only one possibility: Just try and propose it. Create such a
> function for your part, send a patch and plain simply ask if people feel
> that the function should move to the lib/ directory (or whereever).

Thanks. Good  advice.

Nobody wants a function that is not used anyway.

I'll send one in the next patch I send upstream within a driver and
propose it for lib/.

If it is not liked I'll still use it for the driver thus no harm done.

I'll name it ptrlen since I guess someday somebody might want to grep
for this name :-)

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux