In this paper, we introduce and solve the following additive (ρ1,ρ2)-functional inequalities $$\matrix{{\left\| {f(x + y + z) - f(x) - f(y) - f(z)} \right\|} \hfill \cr {\;\;\;\;\;\; \le \left\| {{\rho _1}(f(x + z) - f(x) - f(z))} \right\| + \left\| {{\rho _2}(f(y + z) - f(y) - f(z))} \right\|,} \hfill \cr} $$ where ρ1 and ρ2 are fixed nonzero complex numbers with ∣ρ1∣ + ∣ρ2∣ < 2. Using the fixed point method and the direct method, we prove the Hyers-Ulam stability of the above additive (ρ1,ρ2)-functional inequality in complex Banach spaces. Furthermore, we prove the Hyers-Ulam stability of hom-derivations in C*-ternary algebras.